pub struct AreaInterval { /* private fields */ }Implementations§
Source§impl AreaInterval
impl AreaInterval
pub fn try_new(lower: f64, upper: f64) -> Result<Self, FreeSpaceError>
pub fn exact(square_metres: f64) -> Result<Self, FreeSpaceError>
pub fn lower_square_metres(&self) -> f64
pub fn upper_square_metres(&self) -> f64
pub fn compare_minimum( &self, minimum: f64, ) -> Result<ThresholdVerdict, FreeSpaceError>
Trait Implementations§
Source§impl Clone for AreaInterval
impl Clone for AreaInterval
Source§fn clone(&self) -> AreaInterval
fn clone(&self) -> AreaInterval
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 AreaInterval
impl Debug for AreaInterval
Source§impl PartialEq for AreaInterval
impl PartialEq for AreaInterval
impl Copy for AreaInterval
impl StructuralPartialEq for AreaInterval
Auto Trait Implementations§
impl Freeze for AreaInterval
impl RefUnwindSafe for AreaInterval
impl Send for AreaInterval
impl Sync for AreaInterval
impl Unpin for AreaInterval
impl UnwindSafe for AreaInterval
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