Struct fuel_vm::constraints::reg_key::Reg
source · pub struct Reg<'r, const INDEX: u8>(_);
Expand description
Immutable reference to a register value at a given index.
Implementations§
Methods from Deref<Target = Word>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl<'r, const INDEX: u8> PartialEq<Reg<'r, INDEX>> for Reg<'r, INDEX>
impl<'r, const INDEX: u8> PartialEq<Reg<'r, INDEX>> for Reg<'r, INDEX>
impl<'r, const INDEX: u8> Copy for Reg<'r, INDEX>
impl<'r, const INDEX: u8> Eq for Reg<'r, INDEX>
impl<'r, const INDEX: u8> StructuralEq for Reg<'r, INDEX>
impl<'r, const INDEX: u8> StructuralPartialEq for Reg<'r, INDEX>
Auto Trait Implementations§
impl<'r, const INDEX: u8> RefUnwindSafe for Reg<'r, INDEX>
impl<'r, const INDEX: u8> Send for Reg<'r, INDEX>
impl<'r, const INDEX: u8> Sync for Reg<'r, INDEX>
impl<'r, const INDEX: u8> Unpin for Reg<'r, INDEX>
impl<'r, const INDEX: u8> UnwindSafe for Reg<'r, INDEX>
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more