pub struct RationalValue { /* private fields */ }Implementations§
Source§impl RationalValue
impl RationalValue
Trait Implementations§
Source§impl Clone for RationalValue
impl Clone for RationalValue
Source§fn clone(&self) -> RationalValue
fn clone(&self) -> RationalValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RationalValue
Source§impl Debug for RationalValue
impl Debug for RationalValue
Source§impl<'de> Deserialize<'de> for RationalValue
impl<'de> Deserialize<'de> for RationalValue
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 Eq for RationalValue
Source§impl PartialEq for RationalValue
impl PartialEq for RationalValue
Source§impl Serialize for RationalValue
impl Serialize for RationalValue
impl StructuralPartialEq for RationalValue
Auto Trait Implementations§
impl Freeze for RationalValue
impl RefUnwindSafe for RationalValue
impl Send for RationalValue
impl Sync for RationalValue
impl Unpin for RationalValue
impl UnsafeUnpin for RationalValue
impl UnwindSafe for RationalValue
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