Struct tvix_eval::opcode::JumpOffset
source · #[repr(transparent)]pub struct JumpOffset(pub usize);
Expand description
Offset by which an instruction pointer should change in a jump.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for JumpOffset
impl Clone for JumpOffset
source§fn clone(&self) -> JumpOffset
fn clone(&self) -> JumpOffset
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 JumpOffset
impl Debug for JumpOffset
source§impl PartialEq for JumpOffset
impl PartialEq for JumpOffset
source§fn eq(&self, other: &JumpOffset) -> bool
fn eq(&self, other: &JumpOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JumpOffset
impl Eq for JumpOffset
impl StructuralPartialEq for JumpOffset
Auto Trait Implementations§
impl Freeze for JumpOffset
impl RefUnwindSafe for JumpOffset
impl Send for JumpOffset
impl Sync for JumpOffset
impl Unpin for JumpOffset
impl UnwindSafe for JumpOffset
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.