Struct oxygengine_core::assets::protocols::localization::LocalizationAsset
source · pub struct LocalizationAsset {
pub language: String,
pub dictionary: HashMap<String, String>,
}
Fields§
§language: String
§dictionary: HashMap<String, String>
Trait Implementations§
source§impl Clone for LocalizationAsset
impl Clone for LocalizationAsset
source§fn clone(&self) -> LocalizationAsset
fn clone(&self) -> LocalizationAsset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LocalizationAsset
impl Debug for LocalizationAsset
source§impl Default for LocalizationAsset
impl Default for LocalizationAsset
source§fn default() -> LocalizationAsset
fn default() -> LocalizationAsset
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalizationAsset
impl<'de> Deserialize<'de> for LocalizationAsset
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LocalizationAsset
impl Send for LocalizationAsset
impl Sync for LocalizationAsset
impl Unpin for LocalizationAsset
impl UnwindSafe for LocalizationAsset
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more