[][src]Enum csl::variables::StandardVariable

pub enum StandardVariable {
    Ordinary(Variable),
    Number(NumberVariable),
}

Contrary to the CSL-M spec's declaration that number variables in a regular <text variable> "should fail validation", that is perfectly valid, because "number variables are a subset of the standard variables": Spec

Variants

Ordinary(Variable)Number(NumberVariable)

Trait Implementations

impl GetAttribute for StandardVariable[src]

impl PartialEq<StandardVariable> for StandardVariable[src]

impl Clone for StandardVariable[src]

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

Performs copy-assignment from source. Read more

impl Eq for StandardVariable[src]

impl Copy for StandardVariable[src]

impl Debug for StandardVariable[src]

Auto Trait Implementations

Blanket Implementations

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.

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]