#[repr(transparent)]pub struct Background(pub Color);Expand description
Keyless style! property wrapper setting solid background fill color.
Tuple Fields§
§0: ColorTrait Implementations§
Source§impl Clone for Background
impl Clone for Background
impl Copy for Background
Source§impl Debug for Background
impl Debug for Background
Source§impl Default for Background
impl Default for Background
impl Eq for Background
Source§impl Hash for Background
impl Hash for Background
Source§impl PartialEq for Background
impl PartialEq for Background
impl StructuralPartialEq for Background
Source§impl StyleApply for Background
StyleApply implementation for Background.
impl StyleApply for Background
StyleApply implementation for Background.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies Background directly in place onto style.
§Arguments
Self- Solid background fill color wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for Background
impl Freeze for Background
impl Move for Background
impl RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnsafeUnpin for Background
impl UnwindSafe for Background
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