pub struct CylinderClearance { /* private fields */ }Implementations§
Source§impl CylinderClearance
impl CylinderClearance
pub fn try_new(radius: f64, height: f64) -> Result<Self, FreeSpaceError>
pub fn radius_metres(&self) -> f64
pub fn height_metres(&self) -> f64
Trait Implementations§
Source§impl Clone for CylinderClearance
impl Clone for CylinderClearance
Source§fn clone(&self) -> CylinderClearance
fn clone(&self) -> CylinderClearance
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 CylinderClearance
impl Debug for CylinderClearance
Source§impl PartialEq for CylinderClearance
impl PartialEq for CylinderClearance
impl Copy for CylinderClearance
impl StructuralPartialEq for CylinderClearance
Auto Trait Implementations§
impl Freeze for CylinderClearance
impl RefUnwindSafe for CylinderClearance
impl Send for CylinderClearance
impl Sync for CylinderClearance
impl Unpin for CylinderClearance
impl UnwindSafe for CylinderClearance
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