pub struct AreaResponse {
pub text: String,
pub focused: bool,
pub lines: usize,
pub content_h: f64,
pub caret_top: f64,
pub line_h: f64,
}Expand description
What an area shows this frame.
Fields§
§text: StringThe shown text, composition included.
focused: boolKeyboard focus is in the area.
lines: usizeLaid lines (at least one).
content_h: f64Height of all the lines (lines × line height).
caret_top: f64The caret line’s top, from the first line’s top (scroll it into view).
line_h: f64The line height used.
Trait Implementations§
Source§impl Clone for AreaResponse
impl Clone for AreaResponse
Source§impl Debug for AreaResponse
impl Debug for AreaResponse
Source§impl Default for AreaResponse
impl Default for AreaResponse
Source§impl PartialEq for AreaResponse
impl PartialEq for AreaResponse
impl StructuralPartialEq for AreaResponse
Auto Trait Implementations§
impl Forget for AreaResponse
impl Freeze for AreaResponse
impl Move for AreaResponse
impl RefUnwindSafe for AreaResponse
impl Send for AreaResponse
impl Sync for AreaResponse
impl Unpin for AreaResponse
impl UnsafeUnpin for AreaResponse
impl UnwindSafe for AreaResponse
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