Struct me3_framework::overlay::widgets::text_edit::TextEditOutput
source · [−]pub struct TextEditOutput {
pub response: Response,
pub galley: Arc<Galley>,
pub text_draw_pos: Pos2,
pub text_clip_rect: Rect,
pub state: TextEditState,
pub cursor_range: Option<CursorRange>,
}
Expand description
The output from a TextEdit
.
Fields
response: Response
The interaction response.
galley: Arc<Galley>
How the text was displayed.
text_draw_pos: Pos2
Where the text in Self::galley
ended up on the screen.
text_clip_rect: Rect
The text was clipped to this rectangle when painted.
state: TextEditState
The state we stored after the run.
cursor_range: Option<CursorRange>
Where the text cursor is.
Auto Trait Implementations
impl !RefUnwindSafe for TextEditOutput
impl Send for TextEditOutput
impl Sync for TextEditOutput
impl Unpin for TextEditOutput
impl !UnwindSafe for TextEditOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more