pub struct StateTrickRoom {
pub active: bool,
pub turns_remaining: i8,
}Fields§
§active: bool§turns_remaining: i8Implementations§
Source§impl StateTrickRoom
impl StateTrickRoom
pub fn serialize(&self) -> String
pub fn deserialize(serialized: &str) -> StateTrickRoom
Trait Implementations§
Source§impl Clone for StateTrickRoom
impl Clone for StateTrickRoom
Source§fn clone(&self) -> StateTrickRoom
fn clone(&self) -> StateTrickRoom
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 Debug for StateTrickRoom
impl Debug for StateTrickRoom
Source§impl PartialEq for StateTrickRoom
impl PartialEq for StateTrickRoom
impl StructuralPartialEq for StateTrickRoom
Auto Trait Implementations§
impl Freeze for StateTrickRoom
impl RefUnwindSafe for StateTrickRoom
impl Send for StateTrickRoom
impl Sync for StateTrickRoom
impl Unpin for StateTrickRoom
impl UnwindSafe for StateTrickRoom
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