[−][src]Struct cranelift_codegen_meta::cdsl::encodings::EncodingBuilder
Fields
inst: InstSpec
recipe: EncodingRecipeNumber
encbits: u16
inst_predicate: Option<InstructionPredicate>
isa_predicate: Option<u8>
bound_type: Option<ValueType>
Methods
impl EncodingBuilder
[src]
pub fn new(inst: InstSpec, recipe: EncodingRecipeNumber, encbits: u16) -> Self
[src]
pub fn inst_predicate(self, inst_predicate: InstructionPredicateNode) -> Self
[src]
pub fn isa_predicate(self, isa_predicate: u8) -> Self
[src]
pub fn build(
self,
recipes: &PrimaryMap<EncodingRecipeNumber, EncodingRecipe>,
inst_pred_reg: &mut InstructionPredicateRegistry
) -> Rc<EncodingContent>
[src]
self,
recipes: &PrimaryMap<EncodingRecipeNumber, EncodingRecipe>,
inst_pred_reg: &mut InstructionPredicateRegistry
) -> Rc<EncodingContent>
Auto Trait Implementations
impl !RefUnwindSafe for EncodingBuilder
impl !Send for EncodingBuilder
impl !Sync for EncodingBuilder
impl Unpin for EncodingBuilder
impl !UnwindSafe for EncodingBuilder
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,
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.
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>,