Enum mrml::mj_head::MJHeadChild [−][src]
pub enum MJHeadChild { Comment(Comment), MJAttributes(MJAttributes), MJBreakpoint(MJBreakpoint), MJFont(MJFont), MJPreview(MJPreview), MJStyle(MJStyle), MJTitle(MJTitle), }
Variants
Comment(Comment)
MJAttributes(MJAttributes)
MJBreakpoint(MJBreakpoint)
MJFont(MJFont)
MJPreview(MJPreview)
MJStyle(MJStyle)
MJTitle(MJTitle)
Implementations
impl MJHeadChild
[src]
pub fn as_mj_attributes(&self) -> Option<&MJAttributes>
[src]
impl MJHeadChild
[src]
pub fn as_mj_breakpoint(&self) -> Option<&MJBreakpoint>
[src]
impl MJHeadChild
[src]
pub fn as_mj_font(&self) -> Option<&MJFont>
[src]
impl MJHeadChild
[src]
pub fn as_mj_preview(&self) -> Option<&MJPreview>
[src]
impl MJHeadChild
[src]
pub fn as_mj_style(&self) -> Option<&MJStyle>
[src]
impl MJHeadChild
[src]
pub fn as_mj_title(&self) -> Option<&MJTitle>
[src]
impl MJHeadChild
[src]
Trait Implementations
impl Debug for MJHeadChild
[src]
impl<'de> Deserialize<'de> for MJHeadChild
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Comment> for MJHeadChild
[src]
impl From<MJAttributes> for MJHeadChild
[src]
fn from(value: MJAttributes) -> Self
[src]
impl From<MJBreakpoint> for MJHeadChild
[src]
fn from(value: MJBreakpoint) -> Self
[src]
impl From<MJFont> for MJHeadChild
[src]
impl From<MJPreview> for MJHeadChild
[src]
impl From<MJStyle> for MJHeadChild
[src]
impl From<MJTitle> for MJHeadChild
[src]
impl Parsable for MJHeadChild
[src]
impl Print for MJHeadChild
[src]
fn print(&self, pretty: bool, level: usize, indent_size: usize) -> String
[src]
fn dense_print(&self) -> String
[src]
fn pretty_print(&self) -> String
[src]
impl Serialize for MJHeadChild
[src]
Auto Trait Implementations
impl RefUnwindSafe for MJHeadChild
impl Send for MJHeadChild
impl Sync for MJHeadChild
impl Unpin for MJHeadChild
impl UnwindSafe for MJHeadChild
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,