[−][src]Struct unsegen::widget::widget::RenderingHints
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.
Methods
impl RenderingHints
[src]
pub fn new() -> Self
[src]
Construct a default hint object.
pub fn active(self, val: bool) -> Self
[src]
pub fn blink(self, val: Blink) -> Self
[src]
Trait Implementations
impl Copy for RenderingHints
[src]
impl Default for RenderingHints
[src]
impl Clone for RenderingHints
[src]
fn clone(&self) -> RenderingHints
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RenderingHints
[src]
Auto Trait Implementations
impl Send for RenderingHints
impl Sync for RenderingHints
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,