pub struct NamedTupleShape(/* private fields */);Trait Implementations§
Source§impl Clone for NamedTupleShape
impl Clone for NamedTupleShape
Source§fn clone(&self) -> NamedTupleShape
fn clone(&self) -> NamedTupleShape
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamedTupleShape
impl Debug for NamedTupleShape
Source§impl Deref for NamedTupleShape
impl Deref for NamedTupleShape
Source§type Target = NamedTupleShapeInfo
type Target = NamedTupleShapeInfo
The resulting type after dereferencing.
Source§fn deref(&self) -> &NamedTupleShapeInfo
fn deref(&self) -> &NamedTupleShapeInfo
Dereferences the value.
Source§impl<'a> From<&'a [TupleElement]> for NamedTupleShape
impl<'a> From<&'a [TupleElement]> for NamedTupleShape
Source§fn from(shape: &'a [TupleElement]) -> NamedTupleShape
fn from(shape: &'a [TupleElement]) -> NamedTupleShape
Converts to this type from the input type.
Source§impl PartialEq for NamedTupleShape
impl PartialEq for NamedTupleShape
impl Eq for NamedTupleShape
impl StructuralPartialEq for NamedTupleShape
Auto Trait Implementations§
impl Freeze for NamedTupleShape
impl RefUnwindSafe for NamedTupleShape
impl Send for NamedTupleShape
impl Sync for NamedTupleShape
impl Unpin for NamedTupleShape
impl UnwindSafe for NamedTupleShape
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.