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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 Freeze for OperandKind
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