pub struct TextEditOutput {
pub response: Response,
pub galley: Arc<Galley>,
pub galley_pos: Pos2,
pub text_clip_rect: Rect,
pub state: TextEditState,
pub cursor_range: Option<CCursorRange>,
}Expand description
The output from a TextEdit.
Fields§
§response: ResponseThe interaction response.
galley: Arc<Galley>How the text was displayed.
galley_pos: Pos2Where the text in Self::galley ended up on the screen.
text_clip_rect: RectThe text was clipped to this rectangle when painted.
state: TextEditStateThe state we stored after the run.
cursor_range: Option<CCursorRange>Where the text cursor is.
Auto Trait Implementations§
impl Freeze for TextEditOutput
impl !RefUnwindSafe for TextEditOutput
impl Send for TextEditOutput
impl Sync for TextEditOutput
impl Unpin for TextEditOutput
impl !UnwindSafe for TextEditOutput
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