pub struct WrapPoint {
pub char_index: usize,
pub byte_offset: usize,
}Expand description
Wrap point
Fields§
§char_index: usizeCharacter index where wrapping occurs (within the logical line)
byte_offset: usizeByte offset where wrapping occurs (within the logical line)
Trait Implementations§
impl Copy for WrapPoint
impl Eq for WrapPoint
impl StructuralPartialEq for WrapPoint
Auto Trait Implementations§
impl Freeze for WrapPoint
impl RefUnwindSafe for WrapPoint
impl Send for WrapPoint
impl Sync for WrapPoint
impl Unpin for WrapPoint
impl UnwindSafe for WrapPoint
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