pub enum FlagsSize {
Size0,
Size1,
Size2,
Size4Plus(u8),
}
Expand description
Represents the number of bytes required to store a flags value in the component model
Variants§
Size0
There are no flags
Size1
Flags can fit in a u8
Size2
Flags can fit in a u16
Size4Plus(u8)
Flags can fit in a specified number of u32 fields
Implementations§
Auto Trait Implementations§
impl Freeze for FlagsSize
impl RefUnwindSafe for FlagsSize
impl Send for FlagsSize
impl Sync for FlagsSize
impl Unpin for FlagsSize
impl UnwindSafe for FlagsSize
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