#[repr(u8)]pub enum Format {
Byte = 0,
UnsignedByte = 1,
Float = 3,
Short = 2,
}
Expand description
The data format of an attribute.
Variants§
Byte = 0
A signed byte, i.e. [i8
].
UnsignedByte = 1
An unsigned byte, i.e. [u8
].
Float = 3
A float, i.e. [f32
].
Short = 2
A short integer, i.e. [i16
].
Trait Implementations§
impl Copy for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more