pub struct DebruijnIndex {
pub index: usize,
}Fields§
§index: usizeImplementations§
Trait Implementations§
Source§impl Clone for DebruijnIndex
impl Clone for DebruijnIndex
Source§fn clone(&self) -> DebruijnIndex
fn clone(&self) -> DebruijnIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DebruijnIndex
Source§impl Debug for DebruijnIndex
impl Debug for DebruijnIndex
impl Eq for DebruijnIndex
Source§impl Hash for DebruijnIndex
impl Hash for DebruijnIndex
Source§impl Ord for DebruijnIndex
impl Ord for DebruijnIndex
Source§fn cmp(&self, other: &DebruijnIndex) -> Ordering
fn cmp(&self, other: &DebruijnIndex) -> Ordering
1.21.0 (const: unstable) · 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 DebruijnIndex
impl PartialEq for DebruijnIndex
Source§fn eq(&self, other: &DebruijnIndex) -> bool
fn eq(&self, other: &DebruijnIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DebruijnIndex
impl PartialOrd for DebruijnIndex
impl StructuralPartialEq for DebruijnIndex
Auto Trait Implementations§
impl Freeze for DebruijnIndex
impl RefUnwindSafe for DebruijnIndex
impl Send for DebruijnIndex
impl Sync for DebruijnIndex
impl Unpin for DebruijnIndex
impl UnsafeUnpin for DebruijnIndex
impl UnwindSafe for DebruijnIndex
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