pub struct CharacterTransitionDataSchema {
    pub cooldown: Box<CooldownSchema>,
    pub destination: Box<MapSchema>,
    pub transition: Box<TransitionSchema>,
    pub character: Box<CharacterSchema>,
}Fields§
§cooldown: Box<CooldownSchema>Cooldown details
destination: Box<MapSchema>Destination map details.
transition: Box<TransitionSchema>Transition details.
character: Box<CharacterSchema>Character details.
Implementations§
Source§impl CharacterTransitionDataSchema
 
impl CharacterTransitionDataSchema
pub fn new( cooldown: CooldownSchema, destination: MapSchema, transition: TransitionSchema, character: CharacterSchema, ) -> CharacterTransitionDataSchema
Trait Implementations§
Source§impl Clone for CharacterTransitionDataSchema
 
impl Clone for CharacterTransitionDataSchema
Source§fn clone(&self) -> CharacterTransitionDataSchema
 
fn clone(&self) -> CharacterTransitionDataSchema
Returns a duplicate 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 Default for CharacterTransitionDataSchema
 
impl Default for CharacterTransitionDataSchema
Source§fn default() -> CharacterTransitionDataSchema
 
fn default() -> CharacterTransitionDataSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CharacterTransitionDataSchema
 
impl<'de> Deserialize<'de> for CharacterTransitionDataSchema
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
Source§impl GetCharacter for CharacterTransitionDataSchema
 
impl GetCharacter for CharacterTransitionDataSchema
fn get_character(&self) -> &CharacterSchema
Source§impl GetCooldown for CharacterTransitionDataSchema
 
impl GetCooldown for CharacterTransitionDataSchema
fn get_cooldown(&self) -> &CooldownSchema
Source§impl PartialEq for CharacterTransitionDataSchema
 
impl PartialEq for CharacterTransitionDataSchema
Source§fn eq(&self, other: &CharacterTransitionDataSchema) -> bool
 
fn eq(&self, other: &CharacterTransitionDataSchema) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CharacterTransitionDataSchema
Auto Trait Implementations§
impl Freeze for CharacterTransitionDataSchema
impl RefUnwindSafe for CharacterTransitionDataSchema
impl Send for CharacterTransitionDataSchema
impl Sync for CharacterTransitionDataSchema
impl Unpin for CharacterTransitionDataSchema
impl UnwindSafe for CharacterTransitionDataSchema
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