pub struct SelectionEnd {
pub line: usize,
pub index: usize,
}Expand description
Fields§
§line: usize§index: usizeImplementations§
Source§impl SelectionEnd
impl SelectionEnd
Sourcepub fn new(line: usize, index: usize) -> Self
pub fn new(line: usize, index: usize) -> Self
Creates a new SelectionEnd.
Trait Implementations§
Source§impl Clone for SelectionEnd
impl Clone for SelectionEnd
impl Copy for SelectionEnd
Source§impl Debug for SelectionEnd
impl Debug for SelectionEnd
Source§impl Default for SelectionEnd
impl Default for SelectionEnd
impl Eq for SelectionEnd
Source§impl Ord for SelectionEnd
impl Ord for SelectionEnd
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 PartialEq for SelectionEnd
impl PartialEq for SelectionEnd
Source§impl PartialOrd for SelectionEnd
impl PartialOrd for SelectionEnd
impl StructuralPartialEq for SelectionEnd
Auto Trait Implementations§
impl Freeze for SelectionEnd
impl RefUnwindSafe for SelectionEnd
impl Send for SelectionEnd
impl Sync for SelectionEnd
impl Unpin for SelectionEnd
impl UnsafeUnpin for SelectionEnd
impl UnwindSafe for SelectionEnd
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