pub struct VariableArrayOf<R>(/* private fields */);Expand description
Encoding marker for Vec<V> carried as an HLAvariableArray whose elements use the marker R.
values: Vec<f64> as VariableArrayOf<HLAfloat64BE> in a record macro. Never instantiated.
Trait Implementations§
Source§impl<V, R: Representation<V>> Representation<Vec<V>> for VariableArrayOf<R>
impl<V, R: Representation<V>> Representation<Vec<V>> for VariableArrayOf<R>
Source§fn encode_value(value: &Vec<V>, writer: &mut ByteWriter<'_>)
fn encode_value(value: &Vec<V>, writer: &mut ByteWriter<'_>)
Encodes
value as this datatype.Source§fn decode_value(reader: &mut ByteReader<'_>) -> Result<Vec<V>, DecoderError>
fn decode_value(reader: &mut ByteReader<'_>) -> Result<Vec<V>, DecoderError>
Decodes a value of this datatype.
Source§fn encoded_len_of(value: &V) -> usize
fn encoded_len_of(value: &V) -> usize
Encoded length of
value when it starts at an aligned offset.Auto Trait Implementations§
impl<R> Forget for VariableArrayOf<R>
impl<R> Freeze for VariableArrayOf<R>where
PhantomData<R>: Freeze,
impl<R> Move for VariableArrayOf<R>
impl<R> RefUnwindSafe for VariableArrayOf<R>where
R: RefUnwindSafe,
impl<R> Send for VariableArrayOf<R>where
R: Send,
impl<R> Sync for VariableArrayOf<R>where
R: Sync,
impl<R> Unpin for VariableArrayOf<R>where
R: Unpin,
impl<R> UnsafeUnpin for VariableArrayOf<R>where
PhantomData<R>: UnsafeUnpin,
impl<R> UnwindSafe for VariableArrayOf<R>where
R: UnwindSafe,
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