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 From<&OperandKind> for OperandKind
impl From<&OperandKind> for OperandKind
source§fn from(kind: &OperandKind) -> Self
fn from(kind: &OperandKind) -> Self
Converts to this type from the input type.
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§
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