pub enum CalloutType {
Show 13 variants
Note,
Tip,
Info,
Todo,
Important,
Success,
Question,
Warning,
Failure,
Danger,
Bug,
Example,
Quote,
}Expand description
Type of callout block
Variants§
Trait Implementations§
Source§impl Clone for CalloutType
impl Clone for CalloutType
Source§fn clone(&self) -> CalloutType
fn clone(&self) -> CalloutType
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 moreSource§impl Debug for CalloutType
impl Debug for CalloutType
Source§impl<'de> Deserialize<'de> for CalloutType
impl<'de> Deserialize<'de> for CalloutType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CalloutType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CalloutType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CalloutType
impl PartialEq for CalloutType
Source§impl Serialize for CalloutType
impl Serialize for CalloutType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CalloutType
impl Eq for CalloutType
impl StructuralPartialEq for CalloutType
Auto Trait Implementations§
impl Freeze for CalloutType
impl RefUnwindSafe for CalloutType
impl Send for CalloutType
impl Sync for CalloutType
impl Unpin for CalloutType
impl UnwindSafe for CalloutType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.