[][src]Struct poetry_book::Poem

pub struct Poem { /* fields omitted */ }

Methods

impl Poem[src]

pub fn new(title: &str, text: &str) -> Poem[src]

pub fn get_average_verse_size(&self) -> usize[src]

pub fn title(&self) -> &str[src]

pub fn paragraphs(&self) -> &Vec<Paragraph>[src]

Trait Implementations

impl Debug for Poem[src]

impl Eq for Poem[src]

impl Latex for Poem[src]

impl PartialEq<Poem> for Poem[src]

impl StructuralEq for Poem[src]

impl StructuralPartialEq for Poem[src]

Auto Trait Implementations

impl RefUnwindSafe for Poem

impl Send for Poem

impl Sync for Poem

impl Unpin for Poem

impl UnwindSafe for Poem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.