pub struct PushedState { /* private fields */ }Expand description
A token for a pushed state. Pop it with DrawingContext::pop, in the
reverse order of the pushes.
Implementations§
Source§impl PushedState
impl PushedState
Sourcepub const NONE: PushedState
pub const NONE: PushedState
The state that represents “nothing was pushed”; popping it does nothing.
Trait Implementations§
Source§impl Clone for PushedState
impl Clone for PushedState
impl Copy for PushedState
Source§impl Debug for PushedState
impl Debug for PushedState
Source§impl Default for PushedState
impl Default for PushedState
impl Eq for PushedState
Source§impl PartialEq for PushedState
impl PartialEq for PushedState
impl StructuralPartialEq for PushedState
Auto Trait Implementations§
impl Freeze for PushedState
impl RefUnwindSafe for PushedState
impl Send for PushedState
impl Sync for PushedState
impl Unpin for PushedState
impl UnsafeUnpin for PushedState
impl UnwindSafe for PushedState
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more