pub struct RuntimeBase(/* private fields */);Implementations§
Source§impl RuntimeBase
impl RuntimeBase
pub fn new(value: u64) -> Result<RuntimeBase, InvariantError>
pub fn get(self) -> u64
pub fn checked_add_rel_pc(self, rel_pc: RelPc) -> Option<u64>
Trait Implementations§
Source§impl Clone for RuntimeBase
impl Clone for RuntimeBase
Source§fn clone(&self) -> RuntimeBase
fn clone(&self) -> RuntimeBase
Returns a duplicate 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 RuntimeBase
impl Debug for RuntimeBase
Source§impl<'ʄ> Facet<'ʄ> for RuntimeBase
impl<'ʄ> Facet<'ʄ> for RuntimeBase
Source§impl Hash for RuntimeBase
impl Hash for RuntimeBase
Source§impl Ord for RuntimeBase
impl Ord for RuntimeBase
Source§fn cmp(&self, other: &RuntimeBase) -> Ordering
fn cmp(&self, other: &RuntimeBase) -> 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 for RuntimeBase
impl PartialEq for RuntimeBase
Source§impl PartialOrd for RuntimeBase
impl PartialOrd for RuntimeBase
impl Copy for RuntimeBase
impl Eq for RuntimeBase
impl StructuralPartialEq for RuntimeBase
Auto Trait Implementations§
impl Freeze for RuntimeBase
impl RefUnwindSafe for RuntimeBase
impl Send for RuntimeBase
impl Sync for RuntimeBase
impl Unpin for RuntimeBase
impl UnsafeUnpin for RuntimeBase
impl UnwindSafe for RuntimeBase
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.