pub struct ModuleDefId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ModuleDefId
impl Clone for ModuleDefId
Source§fn clone(&self) -> ModuleDefId
fn clone(&self) -> ModuleDefId
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 ModuleDefId
Source§impl Debug for ModuleDefId
impl Debug for ModuleDefId
impl Eq for ModuleDefId
Source§impl Hash for ModuleDefId
impl Hash for ModuleDefId
Source§impl Ord for ModuleDefId
impl Ord for ModuleDefId
Source§fn cmp(&self, other: &ModuleDefId) -> Ordering
fn cmp(&self, other: &ModuleDefId) -> Ordering
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 PartialEq for ModuleDefId
impl PartialEq for ModuleDefId
Source§impl PartialOrd for ModuleDefId
impl PartialOrd for ModuleDefId
Source§impl Serialize for ModuleDefId
impl Serialize for ModuleDefId
impl StructuralPartialEq for ModuleDefId
Auto Trait Implementations§
impl Freeze for ModuleDefId
impl RefUnwindSafe for ModuleDefId
impl Send for ModuleDefId
impl Sync for ModuleDefId
impl Unpin for ModuleDefId
impl UnsafeUnpin for ModuleDefId
impl UnwindSafe for ModuleDefId
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