pub struct BannerStyleConfig {
pub severity: BannerSeverity,
pub content: WidgetId,
pub leading_glyph: WidgetId,
}Fields§
§severity: BannerSeveritySeverity hint — drives the recipe’s surface tint.
content: WidgetIdPre-built message + action content (everything but the leading glyph) the strip arranges to the right of the glyph.
leading_glyph: WidgetIdPre-built SeverityGlyph subtree — placed at the leading edge.
Trait Implementations§
Source§impl Clone for BannerStyleConfig
impl Clone for BannerStyleConfig
Source§fn clone(&self) -> BannerStyleConfig
fn clone(&self) -> BannerStyleConfig
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 moreAuto Trait Implementations§
impl Freeze for BannerStyleConfig
impl RefUnwindSafe for BannerStyleConfig
impl Send for BannerStyleConfig
impl Sync for BannerStyleConfig
impl Unpin for BannerStyleConfig
impl UnsafeUnpin for BannerStyleConfig
impl UnwindSafe for BannerStyleConfig
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