pub struct Narrowest {
pub at: [f64; 2],
pub clearance: f64,
}Expand description
Where a region is narrowest, and how narrow: the smallest clearance on its medial axis away from the branch ends at its corners (where the clearance runs down to nothing without the region getting any thinner). The wall there is twice the clearance.
Fields§
§at: [f64; 2]§clearance: f64Trait Implementations§
impl Copy for Narrowest
Source§impl<'de> Deserialize<'de> for Narrowest
impl<'de> Deserialize<'de> for Narrowest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Narrowest
Auto Trait Implementations§
impl Forget for Narrowest
impl Freeze for Narrowest
impl Move for Narrowest
impl RefUnwindSafe for Narrowest
impl Send for Narrowest
impl Sync for Narrowest
impl Unpin for Narrowest
impl UnsafeUnpin for Narrowest
impl UnwindSafe for Narrowest
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