[][src]Struct hayagriva::style::Mla

#[non_exhaustive]pub struct Mla {
    pub always_use_location: bool,
    pub always_print_date: bool,
    pub title_case: TitleCase,
}

Bibliographies following MLA guidance.

Examples

  • Habermas, Jürgen. Reason and the Rationalization of Society. Translated by Thomas McCarthy, Reprint ed., vol. 1, Beacon P, 1985. The Theory of Communicative Action.
  • Moore, Edward F. “Gedanken-Experiments on Sequential Machines.” Automata Studies, edited by Shannon, C. E., and McCarthy, J., vol. 34, NBS, Apr. 1956. Annals of Mathematics Studies.
  • “Authoritative.” Cambridge Dictionary, https://dictionary.cambridge.org/dictionary/english/authoritative. Accessed 29 Nov. 2020.

Reference

See the 8th edition of the MLA Handbook for details on how the Modern Language Association advises you to format citations and bibliographies (Works Cited lists).

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
always_use_location: bool

Forces location element to appear whenever given. Otherwise, location will only appear for physical items.

always_print_date: bool

Forces all dates to be printed if true. Otherwise, only the most top-level date field will be printed.

title_case: TitleCase

Title case configuration.

Implementations

impl Mla[src]

pub fn new() -> Self[src]

Create a new MLA Bibliography Generator with default values.

Trait Implementations

impl<'a> BibliographyStyle<'a> for Mla[src]

impl Clone for Mla[src]

impl Debug for Mla[src]

impl Default for Mla[src]

impl Eq for Mla[src]

impl PartialEq<Mla> for Mla[src]

impl StructuralEq for Mla[src]

impl StructuralPartialEq for Mla[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.