#[repr(transparent)]pub struct Nimber(pub u64);
Expand description
A nimber.
Simply wraps a u64.
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nimber
impl<'de> Deserialize<'de> for Nimber
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 Ord for Nimber
impl Ord for Nimber
Source§impl PartialOrd for Nimber
impl PartialOrd for Nimber
impl Copy for Nimber
impl Eq for Nimber
impl StructuralPartialEq for Nimber
Auto Trait Implementations§
impl Freeze for Nimber
impl RefUnwindSafe for Nimber
impl Send for Nimber
impl Sync for Nimber
impl Unpin for Nimber
impl UnwindSafe for Nimber
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