#[repr(transparent)]pub struct Degrees(pub u16);Tuple Fields§
§0: u16Trait Implementations§
Source§impl AddAssign for Degrees
impl AddAssign for Degrees
Source§fn add_assign(&mut self, other: Degrees)
fn add_assign(&mut self, other: Degrees)
Performs the
+= operation. Read moreSource§impl AddAssign<u16> for Degrees
impl AddAssign<u16> for Degrees
Source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
Performs the
+= operation. Read moreSource§impl CandidType for Degrees
impl CandidType for Degrees
impl Copy for Degrees
Source§impl<'de> Deserialize<'de> for Degrees
impl<'de> Deserialize<'de> for Degrees
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 DivAssign for Degrees
impl DivAssign for Degrees
Source§fn div_assign(&mut self, other: Degrees)
fn div_assign(&mut self, other: Degrees)
Performs the
/= operation. Read moreSource§impl DivAssign<u16> for Degrees
impl DivAssign<u16> for Degrees
Source§fn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
Performs the
/= operation. Read moreimpl Eq for Degrees
Source§impl MulAssign for Degrees
impl MulAssign for Degrees
Source§fn mul_assign(&mut self, other: Degrees)
fn mul_assign(&mut self, other: Degrees)
Performs the
*= operation. Read moreSource§impl MulAssign<u16> for Degrees
impl MulAssign<u16> for Degrees
Source§fn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
Performs the
*= operation. Read moreSource§impl NormalizeAuto for Degrees
impl NormalizeAuto for Degrees
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for Degrees
impl NormalizeCustom for Degrees
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NumericValue for Degrees
impl NumericValue for Degrees
Source§fn try_to_decimal(&self) -> Option<Decimal>
fn try_to_decimal(&self) -> Option<Decimal>
Convert this value into
Decimal for generic numeric handling.Source§fn try_from_decimal(value: Decimal) -> Option<Self>
fn try_from_decimal(value: Decimal) -> Option<Self>
Rebuild the value from
Decimal after generic numeric handling.Source§impl Ord for Degrees
impl Ord for Degrees
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Degrees
impl PartialOrd for Degrees
Source§impl PartialOrd<Degrees> for u16
impl PartialOrd<Degrees> for u16
Source§impl PartialOrd<u16> for Degrees
impl PartialOrd<u16> for Degrees
impl StructuralPartialEq for Degrees
Source§impl SubAssign for Degrees
impl SubAssign for Degrees
Source§fn sub_assign(&mut self, other: Degrees)
fn sub_assign(&mut self, other: Degrees)
Performs the
-= operation. Read moreSource§impl SubAssign<u16> for Degrees
impl SubAssign<u16> for Degrees
Source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
Performs the
-= operation. Read moreSource§impl ValidateAuto for Degrees
impl ValidateAuto for Degrees
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Degrees
impl ValidateCustom for Degrees
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Auto Trait Implementations§
impl Freeze for Degrees
impl RefUnwindSafe for Degrees
impl Send for Degrees
impl Sync for Degrees
impl Unpin for Degrees
impl UnsafeUnpin for Degrees
impl UnwindSafe for Degrees
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more