pub struct CharIdx(pub usize);Expand description
Char index; only used at the boundary with Ropey 1.x.
Tuple Fields§
§0: usizeTrait Implementations§
impl Copy for CharIdx
impl Eq for CharIdx
Source§impl Ord for CharIdx
impl Ord for CharIdx
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CharIdx
impl PartialOrd for CharIdx
impl StructuralPartialEq for CharIdx
Auto Trait Implementations§
impl Freeze for CharIdx
impl RefUnwindSafe for CharIdx
impl Send for CharIdx
impl Sync for CharIdx
impl Unpin for CharIdx
impl UnsafeUnpin for CharIdx
impl UnwindSafe for CharIdx
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