pub struct ObjRef {
pub id: u64,
pub gen: u16,
}Expand description
A reference to an object
Fields§
§id: u64The index within the file
gen: u16The generation number
Trait Implementations§
impl Copy for ObjRef
impl Eq for ObjRef
impl StructuralPartialEq for ObjRef
Auto Trait Implementations§
impl Freeze for ObjRef
impl RefUnwindSafe for ObjRef
impl Send for ObjRef
impl Sync for ObjRef
impl Unpin 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