pub struct NestedHandle {
pub slot: FieldSlot,
pub bit: u32,
pub coll: bool,
}Expand description
A class-handle or collection-handle held INSIDE a larger property: a field
or element of an unpacked struct, or an element of a fixed-size unpacked
array, stored as part of the property’s one flat value (LRM 1800-2023 7.2,
7.4: state::storage). The handle is a 64-bit value at bit bit of the
property’s value bits (the low half of the property’s 4-state packed
words, which is where field_get hands them out).
Fields§
§slot: FieldSlotThe property holding the handle.
bit: u32The handle’s LSB within the property’s value bits.
coll: boolA collection handle (crate::collections) rather than an object’s.
Trait Implementations§
Source§impl Clone for NestedHandle
impl Clone for NestedHandle
impl Copy for NestedHandle
Source§impl Debug for NestedHandle
impl Debug for NestedHandle
impl Eq for NestedHandle
Source§impl PartialEq for NestedHandle
impl PartialEq for NestedHandle
impl StructuralPartialEq for NestedHandle
Auto Trait Implementations§
impl Freeze for NestedHandle
impl RefUnwindSafe for NestedHandle
impl Send for NestedHandle
impl Sync for NestedHandle
impl Unpin for NestedHandle
impl UnsafeUnpin for NestedHandle
impl UnwindSafe for NestedHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.