pub struct Lenght {
pub lenght_type: String,
pub value: f64,
}
Fields§
§lenght_type: String
§value: f64
Implementations§
Source§impl Lenght
impl Lenght
pub fn new() -> Lenght
pub fn to_yoctometre(&self) -> f64
pub fn to_zeptometre(&self) -> f64
pub fn to_attometre(&self) -> f64
pub fn to_femtometre(&self) -> f64
pub fn to_picometre(&self) -> f64
pub fn to_nanometre(&self) -> f64
pub fn to_micrometre(&self) -> f64
pub fn to_millimetre(&self) -> f64
pub fn to_centimetre(&self) -> f64
pub fn to_decimetre(&self) -> f64
pub fn to_metre(&self) -> f64
pub fn to_decametre(&self) -> f64
pub fn to_hectometre(&self) -> f64
pub fn to_kilometre(&self) -> f64
pub fn to_megametre(&self) -> f64
pub fn to_gigametre(&self) -> f64
pub fn to_terametre(&self) -> f64
pub fn to_petametre(&self) -> f64
pub fn to_exametre(&self) -> f64
pub fn to_zettametre(&self) -> f64
pub fn to_yottametre(&self) -> f64
pub fn to_mile(&self) -> f64
pub fn to_yard(&self) -> f64
pub fn to_foot(&self) -> f64
pub fn to_inch(&self) -> f64
pub fn to_light_year(&self) -> f64
pub fn to_rod(&self) -> f64
pub fn to_chain(&self) -> f64
Auto Trait Implementations§
impl Freeze for Lenght
impl RefUnwindSafe for Lenght
impl Send for Lenght
impl Sync for Lenght
impl Unpin for Lenght
impl UnwindSafe for Lenght
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