pub struct SequenceEncoder<'e>(/* private fields */);Expand description
The encoder for the Sequence type.
Implementations§
Source§impl<'e> SequenceEncoder<'e>
impl<'e> SequenceEncoder<'e>
Sourcepub fn new(encoder: ArrayEncoder<4>) -> SequenceEncoder<'e>
pub fn new(encoder: ArrayEncoder<4>) -> SequenceEncoder<'e>
Construct a new instance of the newtype encoder
Trait Implementations§
Source§impl<'e> Encoder for SequenceEncoder<'e>
impl<'e> Encoder for SequenceEncoder<'e>
Auto Trait Implementations§
impl<'e> Freeze for SequenceEncoder<'e>
impl<'e> RefUnwindSafe for SequenceEncoder<'e>
impl<'e> Send for SequenceEncoder<'e>
impl<'e> Sync for SequenceEncoder<'e>
impl<'e> Unpin for SequenceEncoder<'e>
impl<'e> UnsafeUnpin for SequenceEncoder<'e>
impl<'e> UnwindSafe for SequenceEncoder<'e>
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