pub struct ClosureDefIndex(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for ClosureDefIndex
impl Clone for ClosureDefIndex
source§fn clone(&self) -> ClosureDefIndex
fn clone(&self) -> ClosureDefIndex
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 ClosureDefIndex
impl Debug for ClosureDefIndex
source§impl Hash for ClosureDefIndex
impl Hash for ClosureDefIndex
source§impl Ord for ClosureDefIndex
impl Ord for ClosureDefIndex
source§fn cmp(&self, other: &ClosureDefIndex) -> Ordering
fn cmp(&self, other: &ClosureDefIndex) -> 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<ClosureDefIndex> for ClosureDefIndex
impl PartialEq<ClosureDefIndex> for ClosureDefIndex
source§fn eq(&self, other: &ClosureDefIndex) -> bool
fn eq(&self, other: &ClosureDefIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ClosureDefIndex> for ClosureDefIndex
impl PartialOrd<ClosureDefIndex> for ClosureDefIndex
source§fn partial_cmp(&self, other: &ClosureDefIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ClosureDefIndex) -> 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 ClosureDefIndex
impl Eq for ClosureDefIndex
impl StructuralEq for ClosureDefIndex
impl StructuralPartialEq for ClosureDefIndex
Auto Trait Implementations§
impl RefUnwindSafe for ClosureDefIndex
impl Send for ClosureDefIndex
impl Sync for ClosureDefIndex
impl Unpin for ClosureDefIndex
impl UnwindSafe for ClosureDefIndex
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