pub struct TextStop {
pub id: WidgetId,
pub rect: Rect,
pub area: WidgetId,
}Expand description
A text that takes part in a SelectionArea, as one frame laid it out: what the shell
hit-tests a press against and works a selection out from.
Fields§
§id: WidgetIdThe text’s identity.
rect: RectThe box it was given, in window coordinates.
area: WidgetIdThe area it is in.
Trait Implementations§
impl Copy for TextStop
impl StructuralPartialEq for TextStop
Auto Trait Implementations§
impl Freeze for TextStop
impl RefUnwindSafe for TextStop
impl Send for TextStop
impl Sync for TextStop
impl Unpin for TextStop
impl UnsafeUnpin for TextStop
impl UnwindSafe for TextStop
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