SourceClass StyleModifier
from egui import StyleModifierclass StyleModifier:Utility to modify a Style in some way.
Constructed via StyleModifier.from from a Fn(Style) or a Style.
Methods§
Sourcedef apply(self, /, style: Style) -> None§
Apply the modification to the given Style.
Usually used with Ui.style_mut.