pub struct PlayerPresentationConfig {
pub tile_id: Option<String>,
pub paperdoll_ref: Option<String>,
pub sprite_modes: SpriteModeMap,
}Fields§
§tile_id: Option<String>§paperdoll_ref: Option<String>Paperdoll skin id under assets/paperdoll/skins/.
sprite_modes: SpriteModeMapImplementations§
Trait Implementations§
Source§impl Clone for PlayerPresentationConfig
impl Clone for PlayerPresentationConfig
Source§fn clone(&self) -> PlayerPresentationConfig
fn clone(&self) -> PlayerPresentationConfig
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 PlayerPresentationConfig
impl Debug for PlayerPresentationConfig
Source§impl Default for PlayerPresentationConfig
impl Default for PlayerPresentationConfig
Source§fn default() -> PlayerPresentationConfig
fn default() -> PlayerPresentationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerPresentationConfig
impl<'de> Deserialize<'de> for PlayerPresentationConfig
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 PlayerPresentationConfig
impl RefUnwindSafe for PlayerPresentationConfig
impl Send for PlayerPresentationConfig
impl Sync for PlayerPresentationConfig
impl Unpin for PlayerPresentationConfig
impl UnsafeUnpin for PlayerPresentationConfig
impl UnwindSafe for PlayerPresentationConfig
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