pub struct RenderingHints {
pub active: bool,
pub blink: Blink,
/* private fields */
}
Expand description
Hints that can be used by applications to control how Widgets are rendered and used by Widgets to deduce how to render to best show the current application state.
Fields§
§active: bool
e.g., whether or not this Widget receives input
blink: Blink
Periodic signal that can be used to e.g. let a cursor blink.
Implementations§
Trait Implementations§
Source§impl Clone for RenderingHints
impl Clone for RenderingHints
Source§fn clone(&self) -> RenderingHints
fn clone(&self) -> RenderingHints
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RenderingHints
impl Debug for RenderingHints
Source§impl Default for RenderingHints
impl Default for RenderingHints
impl Copy for RenderingHints
Auto Trait Implementations§
impl Freeze for RenderingHints
impl RefUnwindSafe for RenderingHints
impl Send for RenderingHints
impl Sync for RenderingHints
impl Unpin for RenderingHints
impl UnwindSafe for RenderingHints
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