Struct cranelift_codegen_meta::cdsl::formats::FormatStructure
source · pub(crate) struct FormatStructure {
pub num_value_operands: usize,
pub has_value_list: bool,
pub num_block_operands: usize,
pub imm_field_names: Vec<(&'static str, &'static str)>,
}
Expand description
A tuple serving as a key to deduplicate InstructionFormat.
Fields§
§num_value_operands: usize
§has_value_list: bool
§num_block_operands: usize
§imm_field_names: Vec<(&'static str, &'static str)>
Tuples of (Rust field name / Rust type) for each immediate field.
Trait Implementations§
source§impl Hash for FormatStructure
impl Hash for FormatStructure
source§impl PartialEq<FormatStructure> for FormatStructure
impl PartialEq<FormatStructure> for FormatStructure
source§fn eq(&self, other: &FormatStructure) -> bool
fn eq(&self, other: &FormatStructure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FormatStructure
impl StructuralEq for FormatStructure
impl StructuralPartialEq for FormatStructure
Auto Trait Implementations§
impl RefUnwindSafe for FormatStructure
impl Send for FormatStructure
impl Sync for FormatStructure
impl Unpin for FormatStructure
impl UnwindSafe for FormatStructure
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