[−][src]Struct cranelift_codegen_meta::cdsl::types::ReferenceType
Reference type is scalar type, but not lane type.
Implementations
impl ReferenceType
[src]
pub fn doc(self) -> String
[src]
Return a string containing the documentation comment for this reference type.
pub fn lane_bits(self) -> u64
[src]
Return the number of bits in a lane.
pub fn number(self) -> u8
[src]
Find the unique number associated with this reference type.
pub fn ref_from_bits(num_bits: u16) -> ReferenceType
[src]
Trait Implementations
impl Clone for ReferenceType
[src]
fn clone(&self) -> ReferenceType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ReferenceType
[src]
impl Debug for ReferenceType
[src]
impl Display for ReferenceType
[src]
impl Eq for ReferenceType
[src]
impl From<Reference> for ReferenceType
[src]
Create a ReferenceType from a given reference variant.
impl From<ReferenceType> for ValueType
[src]
Create a ValueType from a given reference type.
fn from(reference: ReferenceType) -> Self
[src]
impl Hash for ReferenceType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ReferenceType> for ReferenceType
[src]
fn eq(&self, other: &ReferenceType) -> bool
[src]
fn ne(&self, other: &ReferenceType) -> bool
[src]
impl StructuralEq for ReferenceType
[src]
impl StructuralPartialEq for ReferenceType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReferenceType
impl Send for ReferenceType
impl Sync for ReferenceType
impl Unpin for ReferenceType
impl UnwindSafe for ReferenceType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,