Enum cranelift_isle::sema::TermArgPattern
source · [−]Expand description
Arguments to a term inside a pattern (i.e. an extractor).
Variants
Pattern(Pattern)
A pattern to match sub-values (i.e. the extractor’s results) against.
Expr(Expr)
An expression to generate a value that is passed into the extractor.
Trait Implementations
sourceimpl Clone for TermArgPattern
impl Clone for TermArgPattern
sourcefn clone(&self) -> TermArgPattern
fn clone(&self) -> TermArgPattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TermArgPattern
impl Debug for TermArgPattern
sourceimpl PartialEq<TermArgPattern> for TermArgPattern
impl PartialEq<TermArgPattern> for TermArgPattern
sourcefn eq(&self, other: &TermArgPattern) -> bool
fn eq(&self, other: &TermArgPattern) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TermArgPattern) -> bool
fn ne(&self, other: &TermArgPattern) -> bool
This method tests for !=
.
impl Eq for TermArgPattern
impl StructuralEq for TermArgPattern
impl StructuralPartialEq for TermArgPattern
Auto Trait Implementations
impl RefUnwindSafe for TermArgPattern
impl Send for TermArgPattern
impl Sync for TermArgPattern
impl Unpin for TermArgPattern
impl UnwindSafe for TermArgPattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more