pub struct AlertBundle { /* private fields */ }Implementations§
Source§impl AlertBundle
impl AlertBundle
pub fn from_alerts(alerts: Vec<Alert>) -> AlertBundle
pub fn into_alerts(self) -> Vec<Alert>
pub fn empty() -> AlertBundle
Sourcepub fn gfm() -> AlertBundle
pub fn gfm() -> AlertBundle
github flavoured markdown alerts
[!NOTE], [!TIP], [!IMPORTANT], [!WARNING] and [!CAUTION].
This is used by default
Trait Implementations§
Source§impl Clone for AlertBundle
impl Clone for AlertBundle
Source§fn clone(&self) -> AlertBundle
fn clone(&self) -> AlertBundle
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AlertBundle
impl RefUnwindSafe for AlertBundle
impl Send for AlertBundle
impl Sync for AlertBundle
impl Unpin for AlertBundle
impl UnwindSafe for AlertBundle
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