pub struct BoxClearance { /* private fields */ }Implementations§
Source§impl BoxClearance
impl BoxClearance
pub fn try_new( width: f64, depth: f64, height: f64, ) -> Result<Self, FreeSpaceError>
pub fn width_metres(&self) -> f64
pub fn depth_metres(&self) -> f64
pub fn height_metres(&self) -> f64
Trait Implementations§
Source§impl Clone for BoxClearance
impl Clone for BoxClearance
Source§fn clone(&self) -> BoxClearance
fn clone(&self) -> BoxClearance
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoxClearance
impl Debug for BoxClearance
Source§impl PartialEq for BoxClearance
impl PartialEq for BoxClearance
impl Copy for BoxClearance
impl StructuralPartialEq for BoxClearance
Auto Trait Implementations§
impl Freeze for BoxClearance
impl RefUnwindSafe for BoxClearance
impl Send for BoxClearance
impl Sync for BoxClearance
impl Unpin for BoxClearance
impl UnwindSafe for BoxClearance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more