pub struct AssetModuleData {
pub name: &'static str,
pub domain: &'static str,
pub supported_languages: &'static [LanguageIdentifier],
pub namespaces: &'static [&'static str],
}Fields§
§name: &'static strThe name of the module.
domain: &'static strThe domain of the module.
supported_languages: &'static [LanguageIdentifier]The supported languages of the module.
namespaces: &'static [&'static str]The namespaces used by this module’s types (e.g., “ui”, “errors”).
If empty, only the main domain file (e.g., bevy-example.ftl) is loaded.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetModuleData
impl RefUnwindSafe for AssetModuleData
impl Send for AssetModuleData
impl Sync for AssetModuleData
impl Unpin for AssetModuleData
impl UnwindSafe for AssetModuleData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more