Enum pixel_widgets::stylesheet::StyleState [−][src]
pub enum StyleState<S: AsRef<str>> { Hover, Pressed, Checked, Disabled, Open, Closed, Drag, Drop, Custom(S), }
Expand description
Widget states
Variants
When the mouse is over the widget
When the mouse is clicking on the widget
When the widget is in a checked state (checkbox, radio button)
When a widget is disabled
When a widget in an expanded state
When a widget is in a collapsed state
When a drag widget is being dragged
When a drop widget accepts a dragged widget before it’s dropped
Custom state for custom widgets
Trait Implementations
impl<S: Clone + AsRef<str>> Clone for StyleState<S>[src]
impl<S: Clone + AsRef<str>> Clone for StyleState<S>[src]fn clone(&self) -> StyleState<S>[src]
fn clone(&self) -> StyleState<S>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for StyleState<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for StyleState<S> where
S: Send,
S: Send,
impl<S> Sync for StyleState<S> where
S: Sync,
S: Sync,
impl<S> Unpin for StyleState<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for StyleState<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Any for T where
T: Any,
T: Any,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,