Struct cranelift_codegen_meta::cdsl::operands::OperandKind
source · pub(crate) struct OperandKind {
pub rust_type: &'static str,
pub rust_field_name: &'static str,
pub fields: OperandKindFields,
doc: Option<&'static str>,
}
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§
Trait Implementations§
source§impl Clone for OperandKind
impl Clone for OperandKind
source§fn clone(&self) -> OperandKind
fn clone(&self) -> OperandKind
Returns a copy 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 OperandKind
impl Debug for OperandKind
source§impl Into<OperandKind> for &OperandKind
impl Into<OperandKind> for &OperandKind
source§fn into(self) -> OperandKind
fn into(self) -> OperandKind
Converts this type into the (usually inferred) input type.
source§impl Into<OperandKind> for &TypeVar
impl Into<OperandKind> for &TypeVar
source§fn into(self) -> OperandKind
fn into(self) -> OperandKind
Converts this type into the (usually inferred) input type.