Enum clutter::StaticColor [−][src]
#[non_exhaustive] pub enum StaticColor {}Show variants
White, Black, Red, DarkRed, Green, DarkGreen, Blue, DarkBlue, Cyan, DarkCyan, Magenta, DarkMagenta, Yellow, DarkYellow, Gray, DarkGray, LightGray, Butter, ButterLight, ButterDark, Orange, OrangeLight, OrangeDark, Chocolate, ChocolateLight, ChocolateDark, Chameleon, ChameleonLight, ChameleonDark, SkyBlue, SkyBlueLight, SkyBlueDark, Plum, PlumLight, PlumDark, ScarletRed, ScarletRedLight, ScarletRedDark, Aluminium1, Aluminium2, Aluminium3, Aluminium4, Aluminium5, Aluminium6, Transparent, // some variants omitted
Named colors, for accessing global colors defined by Clutter
Variants (Non-exhaustive)
White color (ffffffff)
Black color (000000ff)
Red color (ff0000ff)
Dark red color (800000ff)
Green color (00ff00ff)
Dark green color (008000ff)
Blue color (0000ffff)
Dark blue color (000080ff)
Cyan color (00ffffff)
Dark cyan color (008080ff)
Magenta color (ff00ffff)
Dark magenta color (800080ff)
Yellow color (ffff00ff)
Dark yellow color (808000ff)
Gray color (a0a0a4ff)
Dark Gray color (808080ff)
Light gray color (c0c0c0ff)
Butter color (edd400ff)
Light butter color (fce94fff)
Dark butter color (c4a000ff)
Orange color (f57900ff)
Light orange color (fcaf3fff)
Dark orange color (ce5c00ff)
Chocolate color (c17d11ff)
Light chocolate color (e9b96eff)
Dark chocolate color (8f5902ff)
Chameleon color (73d216ff)
Light chameleon color (8ae234ff)
Dark chameleon color (4e9a06ff)
Sky color (3465a4ff)
Light sky color (729fcfff)
Dark sky color (204a87ff)
Plum color (75507bff)
Light plum color (ad7fa8ff)
Dark plum color (5c3566ff)
Scarlet red color (cc0000ff)
Light scarlet red color (ef2929ff)
Dark scarlet red color (a40000ff)
Aluminium, first variant (eeeeecff)
Aluminium, second variant (d3d7cfff)
Aluminium, third variant (babdb6ff)
Aluminium, fourth variant (888a85ff)
Aluminium, fifth variant (555753ff)
Aluminium, sixth variant (2e3436ff)
Transparent color (00000000)
Trait Implementations
impl Clone for StaticColor
[src]
fn clone(&self) -> StaticColor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StaticColor
[src]
impl Debug for StaticColor
[src]
impl Display for StaticColor
[src]
impl Eq for StaticColor
[src]
impl<'a> FromValue<'a> for StaticColor
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for StaticColor
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for StaticColor
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for StaticColor
[src]
fn cmp(&self, other: &StaticColor) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<StaticColor> for StaticColor
[src]
fn eq(&self, other: &StaticColor) -> bool
[src]
fn ne(&self, other: &StaticColor) -> bool
[src]
impl PartialOrd<StaticColor> for StaticColor
[src]
fn partial_cmp(&self, other: &StaticColor) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl SetValue for StaticColor
[src]
impl StaticType for StaticColor
[src]
fn static_type() -> Type
[src]
impl StructuralEq for StaticColor
[src]
impl StructuralPartialEq for StaticColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for StaticColor
impl Send for StaticColor
impl Sync for StaticColor
impl Unpin for StaticColor
impl UnwindSafe for StaticColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
T: SetValue + Send + ToValue + ?Sized,
pub fn to_send_value(&self) -> SendValue
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,