Enum json_book::EpigraphElement
source · pub enum EpigraphElement {
Paragraph(Paragraph),
Poem(Poem),
Cite(Cite),
EmptyLine,
}Variants§
Trait Implementations§
source§impl Debug for EpigraphElement
impl Debug for EpigraphElement
source§impl<'de> Deserialize<'de> for EpigraphElement
impl<'de> Deserialize<'de> for EpigraphElement
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
source§impl PartialEq<EpigraphElement> for EpigraphElement
impl PartialEq<EpigraphElement> for EpigraphElement
source§fn eq(&self, other: &EpigraphElement) -> bool
fn eq(&self, other: &EpigraphElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EpigraphElement
impl Serialize for EpigraphElement
impl StructuralPartialEq for EpigraphElement
Auto Trait Implementations§
impl RefUnwindSafe for EpigraphElement
impl Send for EpigraphElement
impl Sync for EpigraphElement
impl Unpin for EpigraphElement
impl UnwindSafe for EpigraphElement
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