pub struct ReferenceValue {
pub offset: usize,
pub kind: ReferenceKind,
pub value: u32,
}Expand description
One tagged reference occurrence in an externally bounded OM record.
Fields§
§offset: usizeAbsolute byte offset of the reference marker.
kind: ReferenceKindReference family.
value: u32Unsigned reference value without its marker/tag bits.
Trait Implementations§
Source§impl Clone for ReferenceValue
impl Clone for ReferenceValue
Source§fn clone(&self) -> ReferenceValue
fn clone(&self) -> ReferenceValue
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 ReferenceValue
Source§impl Debug for ReferenceValue
impl Debug for ReferenceValue
impl Eq for ReferenceValue
Source§impl PartialEq for ReferenceValue
impl PartialEq for ReferenceValue
impl StructuralPartialEq for ReferenceValue
Auto Trait Implementations§
impl Freeze for ReferenceValue
impl RefUnwindSafe for ReferenceValue
impl Send for ReferenceValue
impl Sync for ReferenceValue
impl Unpin for ReferenceValue
impl UnsafeUnpin for ReferenceValue
impl UnwindSafe for ReferenceValue
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