pub enum ArrayValue<'msg> {
Show 20 variants
FloatArray(&'msg [f32]),
DoubleArray(&'msg [f64]),
LongDoubleArray(*const u8, usize),
CharArray(&'msg [u8]),
WCharArray(&'msg [u16]),
BooleanArray(&'msg [bool]),
OctetArray(&'msg [u8]),
Uint8Array(&'msg [u8]),
Int8Array(&'msg [i8]),
Uint16Array(&'msg [u16]),
Int16Array(&'msg [i16]),
Uint32Array(&'msg [u32]),
Int32Array(&'msg [i32]),
Uint64Array(&'msg [u64]),
Int64Array(&'msg [i64]),
StringArray(&'msg [String]),
BoundedStringArray(Box<[DynamicBoundedString<'msg>]>),
WStringArray(&'msg [WString]),
BoundedWStringArray(Box<[DynamicBoundedWString<'msg>]>),
MessageArray(Box<[DynamicMessageView<'msg>]>),
}Expand description
An array of values.
Variants§
FloatArray(&'msg [f32])
DoubleArray(&'msg [f64])
LongDoubleArray(*const u8, usize)
It’s platform-dependent what the size of long double is. Here’s a pointer and an array size, you figure it out.
CharArray(&'msg [u8])
WCharArray(&'msg [u16])
BooleanArray(&'msg [bool])
OctetArray(&'msg [u8])
Uint8Array(&'msg [u8])
Int8Array(&'msg [i8])
Uint16Array(&'msg [u16])
Int16Array(&'msg [i16])
Uint32Array(&'msg [u32])
Int32Array(&'msg [i32])
Uint64Array(&'msg [u64])
Int64Array(&'msg [i64])
StringArray(&'msg [String])
BoundedStringArray(Box<[DynamicBoundedString<'msg>]>)
WStringArray(&'msg [WString])
BoundedWStringArray(Box<[DynamicBoundedWString<'msg>]>)
MessageArray(Box<[DynamicMessageView<'msg>]>)
Trait Implementations§
Source§impl<'msg> Debug for ArrayValue<'msg>
impl<'msg> Debug for ArrayValue<'msg>
Source§impl<'msg> PartialEq for ArrayValue<'msg>
impl<'msg> PartialEq for ArrayValue<'msg>
impl<'msg> StructuralPartialEq for ArrayValue<'msg>
Auto Trait Implementations§
impl<'msg> Freeze for ArrayValue<'msg>
impl<'msg> RefUnwindSafe for ArrayValue<'msg>
impl<'msg> !Send for ArrayValue<'msg>
impl<'msg> !Sync for ArrayValue<'msg>
impl<'msg> Unpin for ArrayValue<'msg>
impl<'msg> UnwindSafe for ArrayValue<'msg>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more