Struct formality_core::variable::VarIndex
source · pub struct VarIndex {
pub index: usize,
}
Fields§
§index: usize
Implementations§
Trait Implementations§
source§impl Ord for VarIndex
impl Ord for VarIndex
source§impl PartialEq for VarIndex
impl PartialEq for VarIndex
source§impl PartialOrd for VarIndex
impl PartialOrd for VarIndex
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 VarIndex
impl Eq for VarIndex
impl StructuralEq for VarIndex
impl StructuralPartialEq for VarIndex
Auto Trait Implementations§
impl RefUnwindSafe for VarIndex
impl Send for VarIndex
impl Sync for VarIndex
impl Unpin for VarIndex
impl UnwindSafe for VarIndex
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