pub enum ULogValue {
Show 26 variants
Int8(i8),
UInt8(u8),
Int16(i16),
UInt16(u16),
Int32(i32),
UInt32(u32),
Int64(i64),
UInt64(u64),
Float(f32),
Double(f64),
Bool(bool),
Char(char),
Int8Array(Vec<i8>),
UInt8Array(Vec<u8>),
Int16Array(Vec<i16>),
UInt16Array(Vec<u16>),
Int32Array(Vec<i32>),
UInt32Array(Vec<u32>),
Int64Array(Vec<i64>),
UInt64Array(Vec<u64>),
FloatArray(Vec<f32>),
DoubleArray(Vec<f64>),
BoolArray(Vec<bool>),
CharArray(String),
Message(Vec<ULogValue>),
MessageArray(Vec<Vec<ULogValue>>),
}Expand description
An enum representing the different data types that can be used in ULog messages. This enum provides variants for various primitive types as well as arrays and nested message types.
Variants§
Int8(i8)
UInt8(u8)
Int16(i16)
UInt16(u16)
Int32(i32)
UInt32(u32)
Int64(i64)
UInt64(u64)
Float(f32)
Double(f64)
Bool(bool)
Char(char)
Int8Array(Vec<i8>)
UInt8Array(Vec<u8>)
Int16Array(Vec<i16>)
UInt16Array(Vec<u16>)
Int32Array(Vec<i32>)
UInt32Array(Vec<u32>)
Int64Array(Vec<i64>)
UInt64Array(Vec<u64>)
FloatArray(Vec<f32>)
DoubleArray(Vec<f64>)
BoolArray(Vec<bool>)
CharArray(String)
Message(Vec<ULogValue>)
MessageArray(Vec<Vec<ULogValue>>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ULogValue
impl RefUnwindSafe for ULogValue
impl Send for ULogValue
impl Sync for ULogValue
impl Unpin for ULogValue
impl UnwindSafe for ULogValue
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