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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)