pub struct LabelTransition {
pub from: String,
pub to: String,
}Expand description
One line’s tier transition this turn, as serialised keys.
Fields§
§from: String§to: StringTrait Implementations§
Source§impl Clone for LabelTransition
impl Clone for LabelTransition
Source§fn clone(&self) -> LabelTransition
fn clone(&self) -> LabelTransition
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 LabelTransition
impl Debug for LabelTransition
Source§impl<'de> Deserialize<'de> for LabelTransition
impl<'de> Deserialize<'de> for LabelTransition
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
impl Eq for LabelTransition
Source§impl PartialEq for LabelTransition
impl PartialEq for LabelTransition
Source§impl Serialize for LabelTransition
impl Serialize for LabelTransition
impl StructuralPartialEq for LabelTransition
Auto Trait Implementations§
impl Freeze for LabelTransition
impl RefUnwindSafe for LabelTransition
impl Send for LabelTransition
impl Sync for LabelTransition
impl Unpin for LabelTransition
impl UnsafeUnpin for LabelTransition
impl UnwindSafe for LabelTransition
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