pub enum Usage {
Known(KnownUsage),
Unknown(u16),
}Expand description
A Usage ID, that does not encode its parent page.
Variants§
Known(KnownUsage)
A Usage value that remembers its parent page.
Unknown(u16)
A standalone Usage value that cannot be decoded without page context.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Usage
Auto Trait Implementations§
impl Freeze for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnsafeUnpin for Usage
impl UnwindSafe for Usage
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