pub struct RangeSnapshot {
pub tail: CursorSnapshot,
pub head: CursorSnapshot,
pub goal_column: GoalColumn,
}Fields§
§tail: CursorSnapshot§head: CursorSnapshot§goal_column: GoalColumnImplementations§
Source§impl RangeSnapshot
impl RangeSnapshot
pub fn restore(&self, text: &Text) -> Option<RangeState>
Auto Trait Implementations§
impl Freeze for RangeSnapshot
impl RefUnwindSafe for RangeSnapshot
impl Send for RangeSnapshot
impl Sync for RangeSnapshot
impl Unpin for RangeSnapshot
impl UnsafeUnpin for RangeSnapshot
impl UnwindSafe for RangeSnapshot
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