pub struct StylePatch { /* private fields */ }Expand description
A patch of static style values, applied over the base style while one interaction state is active.
Build one with PatchBuilder, which the variant methods of
Element run for you. The patch overrides the
fields its setters wrote and leaves every other field of the base style
alone.
Auto Trait Implementations§
impl !RefUnwindSafe for StylePatch
impl !Send for StylePatch
impl !Sync for StylePatch
impl !UnwindSafe for StylePatch
impl Forget for StylePatch
impl Freeze for StylePatch
impl Move for StylePatch
impl Unpin for StylePatch
impl UnsafeUnpin for StylePatch
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