pub enum ContainerPatch {
Background(Option<Color>),
}Expand description
Reactive surface update for a background(..) decorator whose color is a signal/closure:
the backend re-applies the fill on the container’s native backing view. Corner radius and
clipping are fixed at realize (the corner_radius(r) decorator takes a plain f64).
Variants§
Trait Implementations§
Source§impl Clone for ContainerPatch
impl Clone for ContainerPatch
Source§fn clone(&self) -> ContainerPatch
fn clone(&self) -> ContainerPatch
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 moreSource§impl Debug for ContainerPatch
impl Debug for ContainerPatch
Source§impl PartialEq for ContainerPatch
impl PartialEq for ContainerPatch
Source§fn eq(&self, other: &ContainerPatch) -> bool
fn eq(&self, other: &ContainerPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContainerPatch
Auto Trait Implementations§
impl Freeze for ContainerPatch
impl RefUnwindSafe for ContainerPatch
impl Send for ContainerPatch
impl Sync for ContainerPatch
impl Unpin for ContainerPatch
impl UnsafeUnpin for ContainerPatch
impl UnwindSafe for ContainerPatch
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