pub struct TypeFixedLengthList {
pub element: InterfaceType,
pub size: u32,
pub abi: CanonicalAbiInfo,
}Expand description
Shape of a “fixed size list” interface type.
Fields§
§element: InterfaceTypeThe element type of the list.
size: u32The fixed length of the list.
abi: CanonicalAbiInfoByte information about this type in the canonical ABI.
Trait Implementations§
Source§impl Clone for TypeFixedLengthList
impl Clone for TypeFixedLengthList
Source§impl Debug for TypeFixedLengthList
impl Debug for TypeFixedLengthList
Source§impl<'de> Deserialize<'de> for TypeFixedLengthList
impl<'de> Deserialize<'de> for TypeFixedLengthList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TypeFixedLengthList
Source§impl Hash for TypeFixedLengthList
impl Hash for TypeFixedLengthList
Source§impl PartialEq for TypeFixedLengthList
impl PartialEq for TypeFixedLengthList
Source§impl Serialize for TypeFixedLengthList
impl Serialize for TypeFixedLengthList
impl StructuralPartialEq for TypeFixedLengthList
Source§impl TryClone for TypeFixedLengthList
impl TryClone for TypeFixedLengthList
Source§fn try_clone(&self) -> Result<Self, OutOfMemory>
fn try_clone(&self) -> Result<Self, OutOfMemory>
Attempt to clone
self, returning an error if any allocation fails
during cloning.§fn clone_panic_on_oom(&self) -> Self
fn clone_panic_on_oom(&self) -> Self
Clone
self, panicking on allocation failure.Auto Trait Implementations§
impl Freeze for TypeFixedLengthList
impl RefUnwindSafe for TypeFixedLengthList
impl Send for TypeFixedLengthList
impl Sync for TypeFixedLengthList
impl Unpin for TypeFixedLengthList
impl UnsafeUnpin for TypeFixedLengthList
impl UnwindSafe for TypeFixedLengthList
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> TryToOwned for Twhere
T: TryClone,
impl<T> TryToOwned for Twhere
T: TryClone,
§fn try_to_owned(&self) -> Result<<T as TryToOwned>::Owned, OutOfMemory>
fn try_to_owned(&self) -> Result<<T as TryToOwned>::Owned, OutOfMemory>
Try to allocate an owned version of
self.