pub struct SpaceId(/* private fields */);Expand description
Names one address space within a single decode.
Ids are dense and assigned in registration order; the root is always
SpaceId::ROOT. Error locations use the id to qualify offsets.
Implementations§
Trait Implementations§
impl Copy for SpaceId
impl Eq for SpaceId
Source§impl Ord for SpaceId
impl Ord for SpaceId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SpaceId
impl PartialOrd for SpaceId
impl StructuralPartialEq for SpaceId
Auto Trait Implementations§
impl Freeze for SpaceId
impl RefUnwindSafe for SpaceId
impl Send for SpaceId
impl Sync for SpaceId
impl Unpin for SpaceId
impl UnsafeUnpin for SpaceId
impl UnwindSafe for SpaceId
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