#[repr(u16)]pub enum ColumnDataType {
Show 19 variants
String = 0,
Bool = 1,
Int8 = 2,
UInt8 = 3,
Int16 = 4,
UInt16 = 5,
Int32 = 6,
UInt32 = 7,
Float32 = 9,
Int64 = 10,
UInt64 = 11,
PackedBool0 = 25,
PackedBool1 = 26,
PackedBool2 = 27,
PackedBool3 = 28,
PackedBool4 = 29,
PackedBool5 = 30,
PackedBool6 = 31,
PackedBool7 = 32,
}
Variants§
String = 0
Bool = 1
Int8 = 2
UInt8 = 3
Int16 = 4
UInt16 = 5
Int32 = 6
UInt32 = 7
Float32 = 9
Int64 = 10
UInt64 = 11
PackedBool0 = 25
PackedBool1 = 26
PackedBool2 = 27
PackedBool3 = 28
PackedBool4 = 29
PackedBool5 = 30
PackedBool6 = 31
PackedBool7 = 32
Trait Implementations§
Source§impl BinRead for ColumnDataType
impl BinRead for ColumnDataType
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read more§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read more§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read more§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read more§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moreSource§impl BinWrite for ColumnDataType
impl BinWrite for ColumnDataType
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self
to the writer assuming big-endian byte order. Read more§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self
to the writer assuming little-endian byte order. Read moreSource§impl Clone for ColumnDataType
impl Clone for ColumnDataType
Source§fn clone(&self) -> ColumnDataType
fn clone(&self) -> ColumnDataType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColumnDataType
impl Debug for ColumnDataType
Source§impl PartialEq for ColumnDataType
impl PartialEq for ColumnDataType
impl Eq for ColumnDataType
impl StructuralPartialEq for ColumnDataType
Auto Trait Implementations§
impl Freeze for ColumnDataType
impl RefUnwindSafe for ColumnDataType
impl Send for ColumnDataType
impl Sync for ColumnDataType
impl Unpin for ColumnDataType
impl UnwindSafe for ColumnDataType
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