[−][src]Struct cranelift_codegen_meta::cdsl::encodings::EncodingBuilder
Fields
inst: InstSpecrecipe: EncodingRecipeNumberencbits: u16inst_predicate: Option<InstructionPredicate>isa_predicate: Option<u8>bound_type: Option<ValueType>Implementations
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[src]
impl !Send for EncodingBuilder[src]
impl !Sync for EncodingBuilder[src]
impl Unpin for EncodingBuilder[src]
impl !UnwindSafe for EncodingBuilder[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>,