pub struct SyntaxCtxIndex(pub usize);
Expand description
A syntax context index.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
Source§impl Clone for SyntaxCtxIndex
impl Clone for SyntaxCtxIndex
Source§fn clone(&self) -> SyntaxCtxIndex
fn clone(&self) -> SyntaxCtxIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyntaxCtxIndex
impl Debug for SyntaxCtxIndex
Source§impl Hash for SyntaxCtxIndex
impl Hash for SyntaxCtxIndex
Source§impl Ord for SyntaxCtxIndex
impl Ord for SyntaxCtxIndex
Source§fn cmp(&self, other: &SyntaxCtxIndex) -> Ordering
fn cmp(&self, other: &SyntaxCtxIndex) -> 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 SyntaxCtxIndex
impl PartialEq for SyntaxCtxIndex
Source§impl PartialOrd for SyntaxCtxIndex
impl PartialOrd for SyntaxCtxIndex
impl Copy for SyntaxCtxIndex
impl Eq for SyntaxCtxIndex
impl StructuralPartialEq for SyntaxCtxIndex
Auto Trait Implementations§
impl Freeze for SyntaxCtxIndex
impl RefUnwindSafe for SyntaxCtxIndex
impl Send for SyntaxCtxIndex
impl Sync for SyntaxCtxIndex
impl Unpin for SyntaxCtxIndex
impl UnwindSafe for SyntaxCtxIndex
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