Enum dx::support::iced::Background
[−]pub enum Background {
Color(Color),
}
Expand description
The background of some element.
Variants
Color(Color)
A solid color
Trait Implementations
impl Clone for Background
impl Clone for Background
fn clone(&self) -> Background
fn clone(&self) -> Background
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Background
impl Debug for Background
impl From<Color> for Background
impl From<Color> for Background
fn from(color: Color) -> Background
fn from(color: Color) -> Background
Converts to this type from the input type.
impl PartialEq<Background> for Background
impl PartialEq<Background> for Background
fn eq(&self, other: &Background) -> bool
fn eq(&self, other: &Background) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Background) -> bool
fn ne(&self, other: &Background) -> bool
This method tests for !=
.
impl Copy for Background
impl StructuralPartialEq for Background
Auto Trait Implementations
impl RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnwindSafe for Background
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.