pub struct DebruijnIndex {
pub index: usize,
}
Fields§
§index: usize
Implementations§
Trait Implementations§
Source§impl Clone for DebruijnIndex
impl Clone for DebruijnIndex
Source§fn clone(&self) -> DebruijnIndex
fn clone(&self) -> DebruijnIndex
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 DebruijnIndex
impl Debug 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 · 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§impl PartialOrd for DebruijnIndex
impl PartialOrd for DebruijnIndex
impl Copy for DebruijnIndex
impl Eq 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 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