ColorPaletteResources
struct · ferroui-themes-fluent · v0.5.0
struct ColorPaletteResources
Represents a specialized resource dictionary that contains color resources used by FluentTheme elements.
This class can only be used in the palettes of a
FluentTheme.
Members
TYPEto_refaccent_propertyconstructnewaccentset_accentalt_highset_alt_highalt_lowset_alt_lowalt_mediumset_alt_mediumalt_medium_highset_alt_medium_highalt_medium_lowset_alt_medium_lowbase_highset_base_highbase_lowset_base_lowbase_mediumset_base_mediumbase_medium_highset_base_medium_highbase_medium_lowset_base_medium_lowchrome_alt_lowset_chrome_alt_lowchrome_black_highset_chrome_black_highchrome_black_lowset_chrome_black_lowchrome_black_mediumset_chrome_black_mediumchrome_black_medium_lowset_chrome_black_medium_lowchrome_disabled_highset_chrome_disabled_highchrome_disabled_lowset_chrome_disabled_lowchrome_grayset_chrome_graychrome_highset_chrome_highchrome_lowset_chrome_lowchrome_mediumset_chrome_mediumchrome_medium_lowset_chrome_medium_lowchrome_whiteset_chrome_whiteerror_textset_error_textlist_lowset_list_lowlist_mediumset_list_mediumregion_colorset_region_color
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ColorPaletteResources>
Returns a strong reference to this object.
accent_property
fn accent_property() -> &'static DirectProperty<ColorPaletteResources, Color>
Defines the Accent property.
construct
fn construct() -> Self
Field initialisation; see ResourceProvider::construct.
new
fn new() -> Ref<Self>
accent
fn accent(self: &Self) -> Color
The Accent color value.
set_accent
fn set_accent(self: &Self, value: Color)
alt_high
fn alt_high(self: &Self) -> Color
The AltHigh color value.
set_alt_high
fn set_alt_high(self: &Self, value: Color)
alt_low
fn alt_low(self: &Self) -> Color
The AltLow color value.
set_alt_low
fn set_alt_low(self: &Self, value: Color)
alt_medium
fn alt_medium(self: &Self) -> Color
The AltMedium color value.
set_alt_medium
fn set_alt_medium(self: &Self, value: Color)
alt_medium_high
fn alt_medium_high(self: &Self) -> Color
The AltMediumHigh color value.
set_alt_medium_high
fn set_alt_medium_high(self: &Self, value: Color)
alt_medium_low
fn alt_medium_low(self: &Self) -> Color
The AltMediumLow color value.
set_alt_medium_low
fn set_alt_medium_low(self: &Self, value: Color)
base_high
fn base_high(self: &Self) -> Color
The BaseHigh color value.
set_base_high
fn set_base_high(self: &Self, value: Color)
base_low
fn base_low(self: &Self) -> Color
The BaseLow color value.
set_base_low
fn set_base_low(self: &Self, value: Color)
base_medium
fn base_medium(self: &Self) -> Color
The BaseMedium color value.
set_base_medium
fn set_base_medium(self: &Self, value: Color)
base_medium_high
fn base_medium_high(self: &Self) -> Color
The BaseMediumHigh color value.
set_base_medium_high
fn set_base_medium_high(self: &Self, value: Color)
base_medium_low
fn base_medium_low(self: &Self) -> Color
The BaseMediumLow color value.
set_base_medium_low
fn set_base_medium_low(self: &Self, value: Color)
chrome_alt_low
fn chrome_alt_low(self: &Self) -> Color
The ChromeAltLow color value.
set_chrome_alt_low
fn set_chrome_alt_low(self: &Self, value: Color)
chrome_black_high
fn chrome_black_high(self: &Self) -> Color
The ChromeBlackHigh color value.
set_chrome_black_high
fn set_chrome_black_high(self: &Self, value: Color)
chrome_black_low
fn chrome_black_low(self: &Self) -> Color
The ChromeBlackLow color value.
set_chrome_black_low
fn set_chrome_black_low(self: &Self, value: Color)
chrome_black_medium
fn chrome_black_medium(self: &Self) -> Color
The ChromeBlackMedium color value.
set_chrome_black_medium
fn set_chrome_black_medium(self: &Self, value: Color)
chrome_black_medium_low
fn chrome_black_medium_low(self: &Self) -> Color
The ChromeBlackMediumLow color value.
set_chrome_black_medium_low
fn set_chrome_black_medium_low(self: &Self, value: Color)
chrome_disabled_high
fn chrome_disabled_high(self: &Self) -> Color
The ChromeDisabledHigh color value.
set_chrome_disabled_high
fn set_chrome_disabled_high(self: &Self, value: Color)
chrome_disabled_low
fn chrome_disabled_low(self: &Self) -> Color
The ChromeDisabledLow color value.
set_chrome_disabled_low
fn set_chrome_disabled_low(self: &Self, value: Color)
chrome_gray
fn chrome_gray(self: &Self) -> Color
The ChromeGray color value.
set_chrome_gray
fn set_chrome_gray(self: &Self, value: Color)
chrome_high
fn chrome_high(self: &Self) -> Color
The ChromeHigh color value.
set_chrome_high
fn set_chrome_high(self: &Self, value: Color)
chrome_low
fn chrome_low(self: &Self) -> Color
The ChromeLow color value.
set_chrome_low
fn set_chrome_low(self: &Self, value: Color)
chrome_medium
fn chrome_medium(self: &Self) -> Color
The ChromeMedium color value.
set_chrome_medium
fn set_chrome_medium(self: &Self, value: Color)
chrome_medium_low
fn chrome_medium_low(self: &Self) -> Color
The ChromeMediumLow color value.
set_chrome_medium_low
fn set_chrome_medium_low(self: &Self, value: Color)
chrome_white
fn chrome_white(self: &Self) -> Color
The ChromeWhite color value.
set_chrome_white
fn set_chrome_white(self: &Self, value: Color)
error_text
fn error_text(self: &Self) -> Color
The ErrorText color value.
set_error_text
fn set_error_text(self: &Self, value: Color)
list_low
fn list_low(self: &Self) -> Color
The ListLow color value.
set_list_low
fn set_list_low(self: &Self, value: Color)
list_medium
fn list_medium(self: &Self) -> Color
The ListMedium color value.
set_list_medium
fn set_list_medium(self: &Self, value: Color)
region_color
fn region_color(self: &Self) -> Color
The RegionColor color value.
set_region_color
fn set_region_color(self: &Self, value: Color)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyResourceProviderImplExtFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<ColorPaletteResources>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplResourceProviderImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.