pub struct LocalDistance(pub f32);
Expand description
Model for working with local (system) distances. Expects the value to be in LS.
Tuple Fields§
§0: f32
Implementations§
Source§impl LocalDistance
impl LocalDistance
Trait Implementations§
Source§impl Clone for LocalDistance
impl Clone for LocalDistance
Source§fn clone(&self) -> LocalDistance
fn clone(&self) -> LocalDistance
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 LocalDistance
impl Debug for LocalDistance
Source§impl<'de> Deserialize<'de> for LocalDistance
impl<'de> Deserialize<'de> for LocalDistance
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
Source§impl PartialEq for LocalDistance
impl PartialEq for LocalDistance
Source§impl Serialize for LocalDistance
impl Serialize for LocalDistance
impl StructuralPartialEq for LocalDistance
Auto Trait Implementations§
impl Freeze for LocalDistance
impl RefUnwindSafe for LocalDistance
impl Send for LocalDistance
impl Sync for LocalDistance
impl Unpin for LocalDistance
impl UnwindSafe for LocalDistance
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