pub struct Piece {
pub buffer: BufferRef,
pub byte_offset: u32,
pub byte_length: u32,
pub newline_count: u32,
pub char_count: u32,
pub buffer_start_line: u32,
pub piece_start_char: u32,
}Fields§
§buffer: BufferRef§byte_offset: u32§byte_length: u32§newline_count: u32§char_count: u32§buffer_start_line: u32§piece_start_char: u32Trait Implementations§
impl Copy for Piece
impl Eq for Piece
impl StructuralPartialEq for Piece
Auto Trait Implementations§
impl Freeze for Piece
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnsafeUnpin for Piece
impl UnwindSafe for Piece
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