pub struct StyleModifier(/* private fields */);
Expand description
Utility to modify a Style
in some way.
Constructed via StyleModifier::from
from a Fn(&mut Style)
or a Style
.
Implementations§
Source§impl StyleModifier
impl StyleModifier
Trait Implementations§
Source§impl Clone for StyleModifier
impl Clone for StyleModifier
Source§fn clone(&self) -> StyleModifier
fn clone(&self) -> StyleModifier
Returns a copy of the value. Read more
1.0.0 · 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 StyleModifier
impl Debug for StyleModifier
Source§impl Default for StyleModifier
impl Default for StyleModifier
Source§fn default() -> StyleModifier
fn default() -> StyleModifier
Returns the “default value” for a type. Read more
Source§impl From<Style> for StyleModifier
impl From<Style> for StyleModifier
Auto Trait Implementations§
impl Freeze for StyleModifier
impl !RefUnwindSafe for StyleModifier
impl Send for StyleModifier
impl Sync for StyleModifier
impl Unpin for StyleModifier
impl !UnwindSafe for StyleModifier
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