pub struct Alert {
pub accent_color: Color32,
pub icon: char,
pub identifier: String,
pub identifier_rendered: String,
}Fields§
§accent_color: Color32The color that will be used to put emphasis to the alert
icon: charThe icon that will be displayed
identifier: StringThe identifier that will be used to look for the blockquote such as NOTE and TIP
identifier_rendered: StringThe identifier that will be shown when rendering. E.g: Note and Tip
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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