pub struct WidgetStateRetained {
pub hovered: bool,
pub focused: bool,
pub active: bool,
pub last_rect: Rect,
pub payload: Vec<f32>,
}Fields§
§hovered: bool§focused: bool§active: bool§last_rect: Rect§payload: Vec<f32>Trait Implementations§
Source§impl Clone for WidgetStateRetained
impl Clone for WidgetStateRetained
Source§fn clone(&self) -> WidgetStateRetained
fn clone(&self) -> WidgetStateRetained
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 WidgetStateRetained
impl Debug for WidgetStateRetained
Source§impl Default for WidgetStateRetained
impl Default for WidgetStateRetained
Source§fn default() -> WidgetStateRetained
fn default() -> WidgetStateRetained
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WidgetStateRetained
impl RefUnwindSafe for WidgetStateRetained
impl Send for WidgetStateRetained
impl Sync for WidgetStateRetained
impl Unpin for WidgetStateRetained
impl UnsafeUnpin for WidgetStateRetained
impl UnwindSafe for WidgetStateRetained
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