pub struct CalloutStyles {
pub note: CalloutStyle,
pub info: CalloutStyle,
pub warning: CalloutStyle,
pub caution: CalloutStyle,
pub danger: CalloutStyle,
pub success: CalloutStyle,
pub notice: CalloutStyle,
}Fields§
§note: CalloutStyle§info: CalloutStyle§warning: CalloutStyle§caution: CalloutStyle§danger: CalloutStyle§success: CalloutStyle§notice: CalloutStyleImplementations§
Source§impl CalloutStyles
impl CalloutStyles
pub fn for_kind(&self, kind: &str) -> &CalloutStyle
Trait Implementations§
Source§impl Clone for CalloutStyles
impl Clone for CalloutStyles
Source§impl Debug for CalloutStyles
impl Debug for CalloutStyles
Source§impl Default for CalloutStyles
impl Default for CalloutStyles
Source§impl<'de> Deserialize<'de> for CalloutStyleswhere
CalloutStyles: Default,
impl<'de> Deserialize<'de> for CalloutStyleswhere
CalloutStyles: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for CalloutStyles
impl Freeze for CalloutStyles
impl Move for CalloutStyles
impl RefUnwindSafe for CalloutStyles
impl Send for CalloutStyles
impl Sync for CalloutStyles
impl Unpin for CalloutStyles
impl UnsafeUnpin for CalloutStyles
impl UnwindSafe for CalloutStyles
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.