pub enum PropertySource {
Inline,
Class,
Id,
Inherited,
Computed,
Theme,
}Expand description
Source of a CSS property
Variants§
Inline
Inline style
Class
From a CSS class
Id
From widget ID selector
Inherited
Inherited from parent
Computed
Default/computed value
Theme
From theme
Implementations§
Trait Implementations§
Source§impl Clone for PropertySource
impl Clone for PropertySource
Source§fn clone(&self) -> PropertySource
fn clone(&self) -> PropertySource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertySource
impl Debug for PropertySource
Source§impl Default for PropertySource
impl Default for PropertySource
Source§fn default() -> PropertySource
fn default() -> PropertySource
Returns the “default value” for a type. Read more
Source§impl PartialEq for PropertySource
impl PartialEq for PropertySource
impl Copy for PropertySource
impl Eq for PropertySource
impl StructuralPartialEq for PropertySource
Auto Trait Implementations§
impl Freeze for PropertySource
impl RefUnwindSafe for PropertySource
impl Send for PropertySource
impl Sync for PropertySource
impl Unpin for PropertySource
impl UnwindSafe for PropertySource
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