pub struct TypeDefArray {
pub len: u32,
pub type_param: TypeRef,
}Fields§
§len: u32§type_param: TypeRefTrait Implementations§
Source§impl Clone for TypeDefArray
impl Clone for TypeDefArray
Source§fn clone(&self) -> TypeDefArray
fn clone(&self) -> TypeDefArray
Returns a copy 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 TypeDefArray
impl Debug for TypeDefArray
Source§impl Encode for TypeDefArray
impl Encode for TypeDefArray
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl Ord for TypeDefArray
impl Ord for TypeDefArray
Source§fn cmp(&self, other: &TypeDefArray) -> Ordering
fn cmp(&self, other: &TypeDefArray) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TypeDefArray
impl PartialEq for TypeDefArray
Source§impl PartialOrd for TypeDefArray
impl PartialOrd for TypeDefArray
impl EncodeLike for TypeDefArray
impl Eq for TypeDefArray
impl StructuralPartialEq for TypeDefArray
Auto Trait Implementations§
impl Freeze for TypeDefArray
impl RefUnwindSafe for TypeDefArray
impl Send for TypeDefArray
impl Sync for TypeDefArray
impl Unpin for TypeDefArray
impl UnwindSafe for TypeDefArray
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