[−][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.
Implementations
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 Clone for RenderingHints
[src]
fn clone(&self) -> RenderingHints
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RenderingHints
[src]
impl Debug for RenderingHints
[src]
impl Default for RenderingHints
[src]
Auto Trait Implementations
impl RefUnwindSafe for RenderingHints
impl Send for RenderingHints
impl Sync for RenderingHints
impl Unpin for RenderingHints
impl UnwindSafe for RenderingHints
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,