#[repr(u8)]pub enum DataType {
Inline = 0,
Offset = 1,
Union = 2,
}Variants§
Implementations§
Source§impl DataType
impl DataType
pub fn is_inline_flag(&self) -> bool
pub fn is_offset_flag(&self) -> bool
pub fn is_union_flag(&self) -> bool
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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