pub struct InstructionConstraints<V, R> {
pub fixed_uses: Vec<(V, R)>,
pub fixed_defs: Vec<(V, R)>,
pub clobbers: Vec<R>,
}Expand description
Target constraints attached to one instruction after legalization.
Fields§
§fixed_uses: Vec<(V, R)>§fixed_defs: Vec<(V, R)>§clobbers: Vec<R>Trait Implementations§
Source§impl<V: Clone, R: Clone> Clone for InstructionConstraints<V, R>
impl<V: Clone, R: Clone> Clone for InstructionConstraints<V, R>
Source§fn clone(&self) -> InstructionConstraints<V, R>
fn clone(&self) -> InstructionConstraints<V, R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V, R> Default for InstructionConstraints<V, R>
impl<V, R> Default for InstructionConstraints<V, R>
impl<V: Eq, R: Eq> Eq for InstructionConstraints<V, R>
impl<V: PartialEq, R: PartialEq> StructuralPartialEq for InstructionConstraints<V, R>
Auto Trait Implementations§
impl<V, R> Freeze for InstructionConstraints<V, R>
impl<V, R> RefUnwindSafe for InstructionConstraints<V, R>
impl<V, R> Send for InstructionConstraints<V, R>
impl<V, R> Sync for InstructionConstraints<V, R>
impl<V, R> Unpin for InstructionConstraints<V, R>
impl<V, R> UnsafeUnpin for InstructionConstraints<V, R>
impl<V, R> UnwindSafe for InstructionConstraints<V, R>
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