pub struct RegionPoint {
pub text: WidgetId,
pub index: usize,
}Expand description
One end of a RegionSelection: a text, and a character boundary in it.
Fields§
§text: WidgetIdThe text the end is in.
index: usizeThe character boundary in it, in characters.
Trait Implementations§
Source§impl Clone for RegionPoint
impl Clone for RegionPoint
impl Copy for RegionPoint
Source§impl Debug for RegionPoint
impl Debug for RegionPoint
impl Eq for RegionPoint
Source§impl PartialEq for RegionPoint
impl PartialEq for RegionPoint
impl StructuralPartialEq for RegionPoint
Auto Trait Implementations§
impl Freeze for RegionPoint
impl RefUnwindSafe for RegionPoint
impl Send for RegionPoint
impl Sync for RegionPoint
impl Unpin for RegionPoint
impl UnsafeUnpin for RegionPoint
impl UnwindSafe for RegionPoint
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