Struct wasm_compose::graph::ExportIndex
source · pub struct ExportIndex(pub usize);
Expand description
Represents an index into a component’s export list.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for ExportIndex
impl Clone for ExportIndex
source§fn clone(&self) -> ExportIndex
fn clone(&self) -> ExportIndex
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 ExportIndex
impl Debug for ExportIndex
source§impl Display for ExportIndex
impl Display for ExportIndex
source§impl From<usize> for ExportIndex
impl From<usize> for ExportIndex
source§impl Hash for ExportIndex
impl Hash for ExportIndex
source§impl Ord for ExportIndex
impl Ord for ExportIndex
source§fn cmp(&self, other: &ExportIndex) -> Ordering
fn cmp(&self, other: &ExportIndex) -> 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 ExportIndex
impl PartialEq for ExportIndex
source§fn eq(&self, other: &ExportIndex) -> bool
fn eq(&self, other: &ExportIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExportIndex
impl PartialOrd for ExportIndex
source§fn partial_cmp(&self, other: &ExportIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ExportIndex) -> 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 ExportIndex
impl Eq for ExportIndex
impl StructuralEq for ExportIndex
impl StructuralPartialEq for ExportIndex
Auto Trait Implementations§
impl RefUnwindSafe for ExportIndex
impl Send for ExportIndex
impl Sync for ExportIndex
impl Unpin for ExportIndex
impl UnwindSafe for ExportIndex
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.