pub enum AbiType {
Named(TypeName),
Base(BaseType, Span),
SubWord(SubWordType, Span),
}Expand description
Refers to an ABI type, which is either a BaseType, a SubWordType, or a TypeName.
Variants§
Implementations§
Trait Implementations§
Source§impl From<Spanned<SubWordType>> for AbiType
impl From<Spanned<SubWordType>> for AbiType
Source§fn from(value: Spanned<SubWordType>) -> Self
fn from(value: Spanned<SubWordType>) -> Self
Converts to this type from the input type.
Source§impl From<SubWordType> for AbiType
impl From<SubWordType> for AbiType
Source§fn from(value: SubWordType) -> Self
fn from(value: SubWordType) -> Self
Converts to this type from the input type.
impl Eq for AbiType
impl StructuralPartialEq for AbiType
Auto Trait Implementations§
impl Freeze for AbiType
impl RefUnwindSafe for AbiType
impl Send for AbiType
impl Sync for AbiType
impl Unpin for AbiType
impl UnwindSafe for AbiType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.