pub struct EntityRecord<'a> {
pub object_id: Option<u32>,
pub object_id_offset: Option<usize>,
pub offset: usize,
pub bytes: &'a [u8],
}Expand description
One NX object-model entity with persistent object identity.
Fields§
§object_id: Option<u32>NX object identifier paired with this boundary slot, when the section carries a fixed-width object-id table.
object_id_offset: Option<usize>Absolute byte offset of the paired object-id table word, when present.
offset: usizeAbsolute byte offset of the entity payload.
bytes: &'a [u8]Exactly bounded serialized entity payload.
Trait Implementations§
Source§impl<'a> Clone for EntityRecord<'a>
impl<'a> Clone for EntityRecord<'a>
Source§fn clone(&self) -> EntityRecord<'a>
fn clone(&self) -> EntityRecord<'a>
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 moreSource§impl<'a> Debug for EntityRecord<'a>
impl<'a> Debug for EntityRecord<'a>
impl<'a> Eq for EntityRecord<'a>
Source§impl<'a> PartialEq for EntityRecord<'a>
impl<'a> PartialEq for EntityRecord<'a>
impl<'a> StructuralPartialEq for EntityRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntityRecord<'a>
impl<'a> RefUnwindSafe for EntityRecord<'a>
impl<'a> Send for EntityRecord<'a>
impl<'a> Sync for EntityRecord<'a>
impl<'a> Unpin for EntityRecord<'a>
impl<'a> UnsafeUnpin for EntityRecord<'a>
impl<'a> UnwindSafe for EntityRecord<'a>
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