#[repr(i32)]pub enum StreamFormat {
Show 18 variants
UInt8 = 0,
UInt16BigEndian = 2,
UInt16LittleEndian = 3,
UInt32BigEndian = 4,
UInt32LittleEndian = 5,
UInt64BigEndian = 6,
UInt64LittleEndian = 7,
Int8 = 8,
Int16BigEndian = 10,
Int16LittleEndian = 11,
Int32BigEndian = 12,
Int32LittleEndian = 13,
Int64BigEndian = 14,
Int64LittleEndian = 15,
Float32BigEndian = 20,
Float32LittleEndian = 21,
Float64BigEndian = 22,
Float64LittleEndian = 23,
}Expand description
Stream format.
Variants§
UInt8 = 0
Unsigned 8-bit integer
UInt16BigEndian = 2
Unsigned 16-bit integer (big-endian)
UInt16LittleEndian = 3
Unsigned 16-bit integer (little-endian)
UInt32BigEndian = 4
Unsigned 32-bit integer (big-endian)
UInt32LittleEndian = 5
Unsigned 32-bit integer (little-endian)
UInt64BigEndian = 6
Unsigned 64-bit integer (big-endian)
UInt64LittleEndian = 7
Unsigned 64-bit integer (little-endian)
Int8 = 8
Signed 8-bit integer
Int16BigEndian = 10
Signed 16-bit integer (big-endian)
Int16LittleEndian = 11
Signed 16-bit integer (little-endian)
Int32BigEndian = 12
Signed 32-bit integer (big-endian)
Int32LittleEndian = 13
Signed 32-bit integer (little-endian)
Int64BigEndian = 14
Signed 64-bit integer (big-endian)
Int64LittleEndian = 15
Signed 64-bit integer (little-endian)
Float32BigEndian = 20
32-bit float (big-endian)
Float32LittleEndian = 21
32-bit float (little-endian)
Float64BigEndian = 22
64-bit float (big-endian)
Float64LittleEndian = 23
64-bit float (little-endian)
Trait Implementations§
Source§impl Clone for StreamFormat
impl Clone for StreamFormat
Source§fn clone(&self) -> StreamFormat
fn clone(&self) -> StreamFormat
Returns a duplicate 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 StreamFormat
impl Debug for StreamFormat
Source§impl Default for StreamFormat
impl Default for StreamFormat
Source§fn default() -> StreamFormat
fn default() -> StreamFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for StreamFormat
impl PartialEq for StreamFormat
Source§impl TryFrom<i64> for StreamFormat
impl TryFrom<i64> for StreamFormat
impl Copy for StreamFormat
impl Eq for StreamFormat
impl StructuralPartialEq for StreamFormat
Auto Trait Implementations§
impl Freeze for StreamFormat
impl RefUnwindSafe for StreamFormat
impl Send for StreamFormat
impl Sync for StreamFormat
impl Unpin for StreamFormat
impl UnsafeUnpin for StreamFormat
impl UnwindSafe for StreamFormat
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