[−][src]Struct cranelift_codegen_meta::shared::Definitions
Fields
settings: SettingGroupall_instructions: PrimaryMap<OpcodeNumber, Rc<InstructionContent>>instructions: InstructionGroupimm: Immediatesformats: Formatstransform_groups: TransformGroupsentities: EntityRefsImplementations
impl Definitions[src]
pub fn verify_instruction_formats(&self) -> Vec<&InstructionFormat>[src]
Verifies certain properties of formats.
- Formats must be uniquely named: if two formats have the same name, they must refer to the same data. Otherwise, two format variants in the codegen crate would have the same name.
- Formats must be structurally different from each other. Otherwise, this would lead to code duplicate in the codegen crate.
Returns a list of all the instruction formats effectively used.
Auto Trait Implementations
impl !RefUnwindSafe for Definitions[src]
impl !Send for Definitions[src]
impl !Sync for Definitions[src]
impl Unpin for Definitions[src]
impl !UnwindSafe for Definitions[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,