#[repr(u8)]pub enum ThemeBrush {
Accent = 0,
AccentText = 1,
PrimaryText = 2,
SolidBackground = 3,
CardBackground = 4,
CardStroke = 5,
SystemCritical = 6,
SystemCriticalBackground = 7,
}Expand description
A brush resolved from the active WinUI theme resources.
Variants§
Accent = 0
AccentText = 1
PrimaryText = 2
SolidBackground = 3
CardBackground = 4
CardStroke = 5
SystemCritical = 6
SystemCriticalBackground = 7
Trait Implementations§
Source§impl Clone for ThemeBrush
impl Clone for ThemeBrush
Source§fn clone(&self) -> ThemeBrush
fn clone(&self) -> ThemeBrush
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ThemeBrush
Source§impl Debug for ThemeBrush
impl Debug for ThemeBrush
impl Eq for ThemeBrush
Source§impl From<ThemeBrush> for Brush
impl From<ThemeBrush> for Brush
Source§fn from(value: ThemeBrush) -> Self
fn from(value: ThemeBrush) -> Self
Converts to this type from the input type.
Source§impl Hash for ThemeBrush
impl Hash for ThemeBrush
Source§impl PartialEq for ThemeBrush
impl PartialEq for ThemeBrush
impl StructuralPartialEq for ThemeBrush
Auto Trait Implementations§
impl Freeze for ThemeBrush
impl RefUnwindSafe for ThemeBrush
impl Send for ThemeBrush
impl Sync for ThemeBrush
impl Unpin for ThemeBrush
impl UnsafeUnpin for ThemeBrush
impl UnwindSafe for ThemeBrush
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