Struct amethyst_locale::LocaleFormat [−][src]
pub struct LocaleFormat;
Loads the strings from localisation files.
Trait Implementations
impl Clone for LocaleFormat
[src]
impl Clone for LocaleFormat
fn clone(&self) -> LocaleFormat
[src]
fn clone(&self) -> LocaleFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
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.
Auto Trait Implementations
impl Send for LocaleFormat
impl Send for LocaleFormat
impl Sync for LocaleFormat
impl Sync for LocaleFormat