pub struct SquareMiles { /* private fields */ }Implementations§
Source§impl SquareMiles
impl SquareMiles
pub const fn new(native: NativeType) -> Self
pub fn abs(&self) -> Self
Trait Implementations§
Source§impl Add for SquareMiles
impl Add for SquareMiles
Source§impl AddAssign for SquareMiles
impl AddAssign for SquareMiles
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SquareMiles
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SquareMiles
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for SquareMiles
impl Clone for SquareMiles
Source§fn clone(&self) -> SquareMiles
fn clone(&self) -> SquareMiles
Returns a duplicate 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<__Context> Decode<__Context> for SquareMiles
impl<__Context> Decode<__Context> for SquareMiles
Source§impl Div<Scalar> for SquareMiles
impl Div<Scalar> for SquareMiles
Source§type Output = SquareMiles
type Output = SquareMiles
The resulting type after applying the
/ operator.Source§impl Div for SquareMiles
impl Div for SquareMiles
Source§impl Encode for SquareMiles
impl Encode for SquareMiles
Source§impl From<Area> for SquareMiles
impl From<Area> for SquareMiles
Source§impl From<f64> for SquareMiles
impl From<f64> for SquareMiles
Source§fn from(native: NativeType) -> SquareMiles
fn from(native: NativeType) -> SquareMiles
Converts to this type from the input type.
Source§impl Into<Area> for SquareMiles
impl Into<Area> for SquareMiles
Source§impl Into<f64> for SquareMiles
impl Into<f64> for SquareMiles
Source§fn into(self) -> NativeType
fn into(self) -> NativeType
Converts this type into the (usually inferred) input type.
Source§impl Mul<Decibel<SquareMiles>> for SquareMiles
impl Mul<Decibel<SquareMiles>> for SquareMiles
Source§type Output = SquareMiles
type Output = SquareMiles
The resulting type after applying the
* operator.Source§impl Mul<Scalar> for SquareMiles
impl Mul<Scalar> for SquareMiles
Source§impl Mul<SquareMiles> for Scalar
impl Mul<SquareMiles> for Scalar
Source§type Output = SquareMiles
type Output = SquareMiles
The resulting type after applying the
* operator.Source§fn mul(self, rhs: SquareMiles) -> SquareMiles
fn mul(self, rhs: SquareMiles) -> SquareMiles
Performs the
* operation. Read moreSource§impl PartialEq for SquareMiles
impl PartialEq for SquareMiles
Source§impl PartialOrd for SquareMiles
impl PartialOrd for SquareMiles
Source§impl Sub for SquareMiles
impl Sub for SquareMiles
Source§impl SubAssign for SquareMiles
impl SubAssign for SquareMiles
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for SquareMiles
Auto Trait Implementations§
impl Freeze for SquareMiles
impl RefUnwindSafe for SquareMiles
impl Send for SquareMiles
impl Sync for SquareMiles
impl Unpin for SquareMiles
impl UnwindSafe for SquareMiles
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