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
Source§fn clone(&self) -> SelectionEnd
fn clone(&self) -> SelectionEnd
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectionEnd
impl Debug for SelectionEnd
Source§impl Default for SelectionEnd
impl Default for SelectionEnd
Source§fn default() -> SelectionEnd
fn default() -> SelectionEnd
Returns the “default value” for a type. Read more
Source§impl Ord for SelectionEnd
impl Ord for SelectionEnd
Source§impl PartialEq for SelectionEnd
impl PartialEq for SelectionEnd
Source§impl PartialOrd for SelectionEnd
impl PartialOrd for SelectionEnd
impl Copy for SelectionEnd
impl Eq 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 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