[][src]Struct amethyst_locale::Locale

pub struct Locale {
    pub bundle: FluentBundle<'static>,
}

A loaded locale.

Fields

bundle: FluentBundle<'static>

The message context.

Trait Implementations

impl Asset for Locale[src]

type Data = Locale

The Data type the asset can be created from.

type HandleStorage = VecStorage<LocaleHandle>

The ECS storage type to be used. You'll want to use DenseVecStorage in most cases.

impl Format<Locale> for LocaleFormat[src]

fn import(
    &self,
    name: String,
    source: Arc<dyn Source + 'static>,
    create_reload: Option<Box<dyn Format<D> + 'static>>
) -> Result<FormatValue<D>, Error>
[src]

Reads the given bytes and produces asset data. Read more

impl FormatRegisteredData for Locale

type Registration = AssetFormatRegistration

Auto Trait Implementations

impl Send for Locale

impl Sync for Locale

Blanket Implementations

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

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]

impl<T> ProcessableAsset for T where
    T: Asset<Data = T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Any for T where
    T: Any

impl<T> Erased for T