[−][src]Struct cranelift_codegen_meta::cdsl::operands::OperandKind
Fields
rust_type: &'static str
String representation of the Rust type mapping to this OperandKind.
rust_field_name: &'static str
Name of this OperandKind in the format's member field.
fields: OperandKindFields
Type-specific fields for this OperandKind.
doc: Option<&'static str>
Implementations
impl OperandKind
[src]
pub fn new(
rust_field_name: &'static str,
rust_type: &'static str,
fields: OperandKindFields
) -> Self
[src]
rust_field_name: &'static str,
rust_type: &'static str,
fields: OperandKindFields
) -> Self
pub fn with_doc(self, doc: &'static str) -> Self
[src]
fn doc(&self) -> Option<&str>
[src]
Trait Implementations
impl Clone for OperandKind
[src]
fn clone(&self) -> OperandKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OperandKind
[src]
impl<'_> Into<OperandKind> for &'_ TypeVar
[src]
fn into(self) -> OperandKind
[src]
impl<'_> Into<OperandKind> for &'_ OperandKind
[src]
fn into(self) -> OperandKind
[src]
Auto Trait Implementations
impl !RefUnwindSafe for OperandKind
impl !Send for OperandKind
impl !Sync for OperandKind
impl Unpin for OperandKind
impl !UnwindSafe for OperandKind
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, 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>,