pub struct Address {
pub index: u16,
pub subindex: u8,
}Expand description
The address of an object dictionary entry: a 16-bit index and 8-bit subindex.
Subindex 0 conventionally holds the “number of entries” for RECORD and
ARRAY objects; simple VAR objects use subindex 0 for the value.
Fields§
§index: u1616-bit object index.
subindex: u88-bit subindex.
Implementations§
Trait Implementations§
impl Copy for Address
impl Eq for Address
Source§impl Ord for Address
impl Ord for Address
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
Source§impl PartialOrd for Address
impl PartialOrd for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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