pub struct TextAreaState {
pub last_viewport_height: u16,
pub last_viewport_width: u16,
}Expand description
Render state tracked across frames.
Fields§
§last_viewport_height: u16Viewport height from last render.
last_viewport_width: u16Viewport width from last render.
Trait Implementations§
Source§impl Clone for TextAreaState
impl Clone for TextAreaState
Source§fn clone(&self) -> TextAreaState
fn clone(&self) -> TextAreaState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextAreaState
impl Debug for TextAreaState
Source§impl Default for TextAreaState
impl Default for TextAreaState
Source§fn default() -> TextAreaState
fn default() -> TextAreaState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextAreaState
impl RefUnwindSafe for TextAreaState
impl Send for TextAreaState
impl Sync for TextAreaState
impl Unpin for TextAreaState
impl UnwindSafe for TextAreaState
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