[][src]Struct cardpack::fluent::fluent_name::FluentName

pub struct FluentName(_);

FluentName is the primary implementation of the Named trait.

FluentName represents the fluent template key for a card entity such as a Suit or Rank, which in turn determines its long name in any represented language, the short letter used to display an index, and the default weight for the if it is instantiated via ::new(). A FluentName must have a corresponding entries in the fluent templates for weight, long, and index.

Implementations

impl FluentName[src]

pub fn new(name: &'static str) -> FluentName[src]

Trait Implementations

impl Clone for FluentName[src]

impl Copy for FluentName[src]

impl Debug for FluentName[src]

impl Default for FluentName[src]

impl Display for FluentName[src]

impl Eq for FluentName[src]

impl Hash for FluentName[src]

impl Named for FluentName[src]

impl Ord for FluentName[src]

impl PartialEq<FluentName> for FluentName[src]

impl PartialOrd<FluentName> for FluentName[src]

impl StructuralEq for FluentName[src]

impl StructuralPartialEq for FluentName[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AnyEq for T where
    T: PartialEq<T> + Any

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> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,