pub struct DeclarationIndex(pub usize);Tuple Fields§
§0: usizeImplementations§
Source§impl DeclarationIndex
impl DeclarationIndex
pub const INVALID: DeclarationIndex
Trait Implementations§
Source§impl Clone for DeclarationIndex
impl Clone for DeclarationIndex
Source§fn clone(&self) -> DeclarationIndex
fn clone(&self) -> DeclarationIndex
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 DeclarationIndex
impl Debug for DeclarationIndex
Source§impl Display for DeclarationIndex
impl Display for DeclarationIndex
Source§impl<'a, 'b> From<&'b &'a DeclarationIndex> for DeclarationIndex
impl<'a, 'b> From<&'b &'a DeclarationIndex> for DeclarationIndex
Source§fn from(decl: &'b &'a DeclarationIndex) -> Self
fn from(decl: &'b &'a DeclarationIndex) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a DeclarationIndex> for DeclarationIndex
impl<'a> From<&'a DeclarationIndex> for DeclarationIndex
Source§fn from(decl: &'a DeclarationIndex) -> Self
fn from(decl: &'a DeclarationIndex) -> Self
Converts to this type from the input type.
Source§impl Hash for DeclarationIndex
impl Hash for DeclarationIndex
Source§impl Ord for DeclarationIndex
impl Ord for DeclarationIndex
Source§fn cmp(&self, other: &DeclarationIndex) -> Ordering
fn cmp(&self, other: &DeclarationIndex) -> 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 DeclarationIndex
impl PartialEq for DeclarationIndex
Source§impl PartialOrd for DeclarationIndex
impl PartialOrd for DeclarationIndex
impl Copy for DeclarationIndex
impl Eq for DeclarationIndex
impl StructuralPartialEq for DeclarationIndex
Auto Trait Implementations§
impl Freeze for DeclarationIndex
impl RefUnwindSafe for DeclarationIndex
impl Send for DeclarationIndex
impl Sync for DeclarationIndex
impl Unpin for DeclarationIndex
impl UnwindSafe for DeclarationIndex
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.