pub struct CharOff(/* private fields */);
Expand description
Character offset into an EditRope.
Trait Implementations§
source§impl Ord for CharOff
impl Ord for CharOff
source§impl PartialEq for CharOff
impl PartialEq for CharOff
source§impl PartialOrd for CharOff
impl PartialOrd for CharOff
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 CharOff
impl Eq for CharOff
impl StructuralPartialEq for CharOff
Auto Trait Implementations§
impl Freeze for CharOff
impl RefUnwindSafe for CharOff
impl Send for CharOff
impl Sync for CharOff
impl Unpin for CharOff
impl UnwindSafe for CharOff
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