Enum bytecode::stackless_bytecode::AssignKind
source · pub enum AssignKind {
Copy,
Move,
Store,
}Expand description
The kind of an assignment in the bytecode.
Variants§
Copy
The assign copies the lhs value.
Move
The assign moves the lhs value.
Store
The assign stores the lhs value.
Trait Implementations§
source§impl Clone for AssignKind
impl Clone for AssignKind
source§fn clone(&self) -> AssignKind
fn clone(&self) -> AssignKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AssignKind
impl Debug for AssignKind
source§impl Ord for AssignKind
impl Ord for AssignKind
source§fn cmp(&self, other: &AssignKind) -> Ordering
fn cmp(&self, other: &AssignKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AssignKind> for AssignKind
impl PartialEq<AssignKind> for AssignKind
source§fn eq(&self, other: &AssignKind) -> bool
fn eq(&self, other: &AssignKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AssignKind> for AssignKind
impl PartialOrd<AssignKind> for AssignKind
source§fn partial_cmp(&self, other: &AssignKind) -> Option<Ordering>
fn partial_cmp(&self, other: &AssignKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for AssignKind
impl Eq for AssignKind
impl StructuralEq for AssignKind
impl StructuralPartialEq for AssignKind
Auto Trait Implementations§
impl RefUnwindSafe for AssignKind
impl Send for AssignKind
impl Sync for AssignKind
impl Unpin for AssignKind
impl UnwindSafe for AssignKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.