[][src]Enum csl::variables::NameVariable

pub enum NameVariable {
    Author,
    CollectionEditor,
    Composer,
    ContainerAuthor,
    Director,
    Editor,
    EditorialDirector,
    Illustrator,
    Interviewer,
    OriginalAuthor,
    Recipient,
    ReviewedAuthor,
    Translator,
    Authority,
    Dummy,
}

Variants

Author

author

CollectionEditor

editor of the collection holding the item (e.g. the series editor for a book)

Composer

composer (e.g. of a musical score)

ContainerAuthor

author of the container holding the item (e.g. the book author for a book chapter)

Director

director (e.g. of a film)

Editor

editor

EditorialDirector

managing editor (“Directeur de la Publication” in French)

Illustrator

illustrator (e.g. of a children’s book)

Interviewer

interviewer (e.g. of an interview)

OriginalAuthor

?

Recipient

recipient (e.g. of a letter)

ReviewedAuthor

author of the item reviewed by the current item

Translator

translator

Authority

CSL-M only

Dummy

CSL-M only

The dummy name variable is always empty. Use it to force all name variables called through a cs:names node to render through cs:substitute, and so suppress whichever is chosen for rendering to be suppressed through the remainder of the current cite.

Trait Implementations

impl Clone for NameVariable[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl AsRef<str> for NameVariable[src]

impl Copy for NameVariable[src]

impl Eq for NameVariable[src]

impl PartialEq<NameVariable> for NameVariable[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Hash for NameVariable[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for NameVariable[src]

impl FromStr for NameVariable[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl EnumProperty for NameVariable[src]

fn get_int(&self, &str) -> Option<usize>[src]

fn get_bool(&self, &str) -> Option<bool>[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for 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.

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

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

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