pub struct ObjId {
pub num: u32,
pub generation: u16,
}Expand description
An indirect object’s identity: object number and generation.
Fields§
§num: u32Object number. Zero is never a real object.
generation: u16Generation number.
Implementations§
Trait Implementations§
impl Copy for ObjId
impl Eq for ObjId
Source§impl Ord for ObjId
impl Ord for ObjId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ObjId
impl PartialOrd for ObjId
impl StructuralPartialEq for ObjId
Auto Trait Implementations§
impl Freeze for ObjId
impl RefUnwindSafe for ObjId
impl Send for ObjId
impl Sync for ObjId
impl Unpin for ObjId
impl UnsafeUnpin for ObjId
impl UnwindSafe for ObjId
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