Struct cranelift_wasm::GlobalIndex [−][src]
pub struct GlobalIndex(_);
Expand description
Index type of a global variable (imported or defined) inside the WebAssembly module.
Implementations
impl GlobalIndex[src]
impl GlobalIndex[src]Trait Implementations
impl Clone for GlobalIndex[src]
impl Clone for GlobalIndex[src]fn clone(&self) -> GlobalIndex[src]
fn clone(&self) -> GlobalIndex[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for GlobalIndex[src]
impl Debug for GlobalIndex[src]impl EntityRef for GlobalIndex[src]
impl EntityRef for GlobalIndex[src]impl Hash for GlobalIndex[src]
impl Hash for GlobalIndex[src]impl Ord for GlobalIndex[src]
impl Ord for GlobalIndex[src]impl PartialEq<GlobalIndex> for GlobalIndex[src]
impl PartialEq<GlobalIndex> for GlobalIndex[src]fn eq(&self, other: &GlobalIndex) -> bool[src]
fn eq(&self, other: &GlobalIndex) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &GlobalIndex) -> bool[src]
fn ne(&self, other: &GlobalIndex) -> bool[src]This method tests for !=.
impl PartialOrd<GlobalIndex> for GlobalIndex[src]
impl PartialOrd<GlobalIndex> for GlobalIndex[src]fn partial_cmp(&self, other: &GlobalIndex) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &GlobalIndex) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl ReservedValue for GlobalIndex[src]
impl ReservedValue for GlobalIndex[src]fn reserved_value() -> GlobalIndex[src]
fn reserved_value() -> GlobalIndex[src]Create an instance of the reserved value.
fn is_reserved_value(&self) -> bool[src]
fn is_reserved_value(&self) -> bool[src]Checks whether value is the reserved one.
impl Copy for GlobalIndex[src]
impl Eq for GlobalIndex[src]
impl StructuralEq for GlobalIndex[src]
impl StructuralPartialEq for GlobalIndex[src]
Auto Trait Implementations
impl RefUnwindSafe for GlobalIndex
impl Send for GlobalIndex
impl Sync for GlobalIndex
impl Unpin for GlobalIndex
impl UnwindSafe for GlobalIndex
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> SparseMapValue<T> for T where
T: EntityRef, [src]
impl<T> SparseMapValue<T> for T where
T: EntityRef, [src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more