pub struct ResourcePresentationDefaults {
pub modes: BTreeMap<String, String>,
pub fallbacks: BTreeMap<String, SpriteFallback>,
}Fields§
§modes: BTreeMap<String, String>§fallbacks: BTreeMap<String, SpriteFallback>Trait Implementations§
Source§impl Clone for ResourcePresentationDefaults
impl Clone for ResourcePresentationDefaults
Source§fn clone(&self) -> ResourcePresentationDefaults
fn clone(&self) -> ResourcePresentationDefaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourcePresentationDefaults
impl Debug for ResourcePresentationDefaults
Source§impl<'de> Deserialize<'de> for ResourcePresentationDefaults
impl<'de> Deserialize<'de> for ResourcePresentationDefaults
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 Freeze for ResourcePresentationDefaults
impl RefUnwindSafe for ResourcePresentationDefaults
impl Send for ResourcePresentationDefaults
impl Sync for ResourcePresentationDefaults
impl Unpin for ResourcePresentationDefaults
impl UnsafeUnpin for ResourcePresentationDefaults
impl UnwindSafe for ResourcePresentationDefaults
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