Struct amethyst_locale::Locale [−][src]
pub struct Locale { pub context: MessageContext<'static>, }
A loaded locale.
Fields
context: MessageContext<'static>
The message context.
Trait Implementations
impl SimpleFormat<Locale> for LocaleFormat
[src]
impl SimpleFormat<Locale> for LocaleFormat
const NAME: &'static str
NAME: &'static str = "FTL"
A unique identifier for this format.
type Options = ()
Options specific to the format, which are passed to import
. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<Locale>
[src]
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<Locale>
Produces asset data from given bytes.
impl Into<Result<ProcessingState<Locale>>> for Locale
[src]
impl Into<Result<ProcessingState<Locale>>> for Locale
fn into(self) -> Result<ProcessingState<Locale>>
[src]
fn into(self) -> Result<ProcessingState<Locale>>
Performs the conversion.
impl Asset for Locale
[src]
impl Asset for Locale
const NAME: &'static str
NAME: &'static str = "locale::Locale"
An identifier for this asset used for debugging.
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 VecStorage
in most cases.