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 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 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§impl PartialOrd for ExportIndex
impl PartialOrd for ExportIndex
impl Copy for ExportIndex
impl Eq for ExportIndex
impl StructuralPartialEq for ExportIndex
Auto Trait Implementations§
impl Freeze for ExportIndex
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
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§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.