pub struct RatioUnitId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for RatioUnitId
impl Clone for RatioUnitId
Source§fn clone(&self) -> RatioUnitId
fn clone(&self) -> RatioUnitId
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 RatioUnitId
Source§impl Debug for RatioUnitId
impl Debug for RatioUnitId
impl Eq for RatioUnitId
Source§impl Hash for RatioUnitId
impl Hash for RatioUnitId
Source§impl PartialEq for RatioUnitId
impl PartialEq for RatioUnitId
Source§fn eq(&self, other: &RatioUnitId) -> bool
fn eq(&self, other: &RatioUnitId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RatioUnitId
Auto Trait Implementations§
impl Freeze for RatioUnitId
impl RefUnwindSafe for RatioUnitId
impl Send for RatioUnitId
impl Sync for RatioUnitId
impl Unpin for RatioUnitId
impl UnsafeUnpin for RatioUnitId
impl UnwindSafe for RatioUnitId
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