pub enum SubWordType {
SignedByte,
UnsignedByte,
SignedHalf,
UnsignedHalf,
}Variants§
Implementations§
Source§impl SubWordType
impl SubWordType
pub fn to_short_spec(&self) -> ShortTypeSpec
Source§impl SubWordType
impl SubWordType
Sourcepub fn erase_sign_info(&self) -> ExtendedType
pub fn erase_sign_info(&self) -> ExtendedType
Erase the sign information, then return the corresponding ExtendedType.
Trait Implementations§
Source§impl Clone for SubWordType
impl Clone for SubWordType
Source§fn clone(&self) -> SubWordType
fn clone(&self) -> SubWordType
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 SubWordType
impl Debug for SubWordType
Source§impl Display for SubWordType
impl Display for SubWordType
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.
Source§impl FromStr for SubWordType
impl FromStr for SubWordType
Source§impl Hash for SubWordType
impl Hash for SubWordType
Source§impl PartialEq for SubWordType
impl PartialEq for SubWordType
impl Copy for SubWordType
impl Eq for SubWordType
impl StructuralPartialEq for SubWordType
Auto Trait Implementations§
impl Freeze for SubWordType
impl RefUnwindSafe for SubWordType
impl Send for SubWordType
impl Sync for SubWordType
impl Unpin for SubWordType
impl UnwindSafe for SubWordType
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.