Struct lucia_lang::opcode::JumpTarget
source · pub struct JumpTarget(pub usize);Expand description
The jump target.
Tuple Fields§
§0: usizeTrait Implementations§
source§impl Clone for JumpTarget
impl Clone for JumpTarget
source§fn clone(&self) -> JumpTarget
fn clone(&self) -> JumpTarget
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 JumpTarget
impl Debug for JumpTarget
source§impl Ord for JumpTarget
impl Ord for JumpTarget
source§fn cmp(&self, other: &JumpTarget) -> Ordering
fn cmp(&self, other: &JumpTarget) -> 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<JumpTarget> for JumpTarget
impl PartialEq<JumpTarget> for JumpTarget
source§fn eq(&self, other: &JumpTarget) -> bool
fn eq(&self, other: &JumpTarget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<JumpTarget> for JumpTarget
impl PartialOrd<JumpTarget> for JumpTarget
source§fn partial_cmp(&self, other: &JumpTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &JumpTarget) -> 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 JumpTarget
impl Eq for JumpTarget
impl StructuralEq for JumpTarget
impl StructuralPartialEq for JumpTarget
Auto Trait Implementations§
impl RefUnwindSafe for JumpTarget
impl Send for JumpTarget
impl Sync for JumpTarget
impl Unpin for JumpTarget
impl UnwindSafe for JumpTarget
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.