Struct binary_codec_sv2::Seq0255
source · #[repr(C)]pub struct Seq0255<'a, T>(pub Vec<T>, _);
Expand description
The liftime is here only for type compatibility with serde-sv2
Tuple Fields§
§0: Vec<T>
Implementations§
source§impl<'a, const SIZE: usize, const HEADERSIZE: usize, const MAXSIZE: usize> Seq0255<'a, Inner<'a, false, SIZE, HEADERSIZE, MAXSIZE>>
impl<'a, const SIZE: usize, const HEADERSIZE: usize, const MAXSIZE: usize> Seq0255<'a, Inner<'a, false, SIZE, HEADERSIZE, MAXSIZE>>
Trait Implementations§
source§impl<'a, T: 'a + Sv2DataType<'a> + GetMarker + GetSize + Decodable<'a>> Decodable<'a> for Seq0255<'a, T>
impl<'a, T: 'a + Sv2DataType<'a> + GetMarker + GetSize + Decodable<'a>> Decodable<'a> for Seq0255<'a, T>
fn get_structure(data: &[u8]) -> Result<Vec<FieldMarker>, Error>
fn from_decoded_fields(data: Vec<DecodableField<'a>>) -> Result<Self, Error>
fn from_bytes(data: &'a mut [u8]) -> Result<Self, Error>
source§impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 1, 255>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 1, 255>>> for EncodableField<'a>
source§impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 2, { u16::MAX as usize }>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 2, { u16::MAX as usize }>>> for EncodableField<'a>
source§impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 3, { 2_usize.pow(24) - 1 }>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, false, 1, 3, { 2_usize.pow(24) - 1 }>>> for EncodableField<'a>
source§impl<'a> From<Seq0255<'a, Inner<'a, true, 32, 0, 0>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, true, 32, 0, 0>>> for EncodableField<'a>
source§impl<'a> From<Seq0255<'a, Inner<'a, true, 6, 0, 0>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, true, 6, 0, 0>>> for EncodableField<'a>
source§impl<'a> From<Seq0255<'a, Inner<'a, true, 64, 0, 0>>> for EncodableField<'a>
impl<'a> From<Seq0255<'a, Inner<'a, true, 64, 0, 0>>> for EncodableField<'a>
source§impl<'a, T: PartialEq> PartialEq for Seq0255<'a, T>
impl<'a, T: PartialEq> PartialEq for Seq0255<'a, T>
impl<'a, T: Eq> Eq for Seq0255<'a, T>
impl<'a, T> StructuralPartialEq for Seq0255<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for Seq0255<'a, T>
impl<'a, T> RefUnwindSafe for Seq0255<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Seq0255<'a, T>
impl<'a, T> Sync for Seq0255<'a, T>where
T: Sync,
impl<'a, T> Unpin for Seq0255<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Seq0255<'a, T>where
T: UnwindSafe + RefUnwindSafe,
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