Enum spirv_cross2::reflect::BitWidth
source · #[repr(u8)]pub enum BitWidth {
Bit = 1,
Byte = 8,
HalfWord = 16,
Word = 32,
DoubleWord = 64,
}Expand description
The bit width of a scalar.
Variants§
Bit = 1
1 bit, padded to 1 byte.
Byte = 8
8 bits, 1 byte.
HalfWord = 16
16 bits, 2 bytes.
Word = 32
32 bits, 4 bytes.
DoubleWord = 64
64 bits, 8 bytes.
Implementations§
Trait Implementations§
impl Copy for BitWidth
impl Eq for BitWidth
impl StructuralPartialEq for BitWidth
Auto Trait Implementations§
impl Freeze for BitWidth
impl RefUnwindSafe for BitWidth
impl Send for BitWidth
impl Sync for BitWidth
impl Unpin for BitWidth
impl UnwindSafe for BitWidth
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)