pub enum StructCode {
F32,
F16,
U8,
I8,
U16,
I16,
U32,
I32,
}Expand description
A struct code get_channel_dtype gives: how one component is read.
Variants§
F32
f: a 32-bit float.
F16
e: a 16-bit float.
U8
B: an unsigned byte.
I8
b: a signed byte.
U16
H: an unsigned 16-bit integer.
I16
h: a signed 16-bit integer.
U32
I: an unsigned 32-bit integer.
I32
i: a signed 32-bit integer.
Implementations§
Trait Implementations§
Source§impl Clone for StructCode
impl Clone for StructCode
impl Copy for StructCode
Source§impl Debug for StructCode
impl Debug for StructCode
impl Eq for StructCode
Source§impl Hash for StructCode
impl Hash for StructCode
Source§impl PartialEq for StructCode
impl PartialEq for StructCode
impl StructuralPartialEq for StructCode
Auto Trait Implementations§
impl Forget for StructCode
impl Freeze for StructCode
impl Move for StructCode
impl RefUnwindSafe for StructCode
impl Send for StructCode
impl Sync for StructCode
impl Unpin for StructCode
impl UnsafeUnpin for StructCode
impl UnwindSafe for StructCode
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