pub struct ObjRef {
pub num: u32,
pub gen_nr: u16,
}Expand description
A reference to an indirect object: num gen R.
Added in 0.2.0.
Fields§
§num: u32Object number.
gen_nr: u16Generation number.
Implementations§
Trait Implementations§
impl Copy for ObjRef
impl Eq for ObjRef
Source§impl Ord for ObjRef
impl Ord for ObjRef
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 ObjRef
impl PartialOrd for ObjRef
impl StructuralPartialEq for ObjRef
Auto Trait Implementations§
impl Forget for ObjRef
impl Freeze for ObjRef
impl Move for ObjRef
impl RefUnwindSafe for ObjRef
impl Send for ObjRef
impl Sync for ObjRef
impl Unpin for ObjRef
impl UnsafeUnpin for ObjRef
impl UnwindSafe for ObjRef
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