pub struct SelectionEdge {
pub selectable: u64,
pub offset: usize,
}Expand description
One end of a selection: a byte offset into one registered text.
Fields§
§selectable: u64The registered text the edge is in.
offset: usizeByte offset into that text.
Trait Implementations§
Source§impl Clone for SelectionEdge
impl Clone for SelectionEdge
impl Copy for SelectionEdge
Source§impl Debug for SelectionEdge
impl Debug for SelectionEdge
impl Eq for SelectionEdge
Source§impl PartialEq for SelectionEdge
impl PartialEq for SelectionEdge
impl StructuralPartialEq for SelectionEdge
Auto Trait Implementations§
impl Freeze for SelectionEdge
impl RefUnwindSafe for SelectionEdge
impl Send for SelectionEdge
impl Sync for SelectionEdge
impl Unpin for SelectionEdge
impl UnsafeUnpin for SelectionEdge
impl UnwindSafe for SelectionEdge
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