Struct rlifesrc_lib::save::SetCellSer
source · pub struct SetCellSer {
pub(crate) coord: Coord,
pub(crate) state: State,
pub(crate) reason: ReasonSer,
}
Available on crate feature
serde
only.Expand description
A representation of setting a cell which can be easily serialized.
Fields§
§coord: Coord
The coordinates of the set cell.
state: State
The state.
reason: ReasonSer
The reason for setting a cell.
Trait Implementations§
source§impl Clone for SetCellSer
impl Clone for SetCellSer
source§fn clone(&self) -> SetCellSer
fn clone(&self) -> SetCellSer
Returns a copy 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 SetCellSer
impl Debug for SetCellSer
source§impl<'de> Deserialize<'de> for SetCellSer
impl<'de> Deserialize<'de> for SetCellSer
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 Hash for SetCellSer
impl Hash for SetCellSer
source§impl PartialEq for SetCellSer
impl PartialEq for SetCellSer
source§fn eq(&self, other: &SetCellSer) -> bool
fn eq(&self, other: &SetCellSer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetCellSer
impl Serialize for SetCellSer
impl Eq for SetCellSer
impl StructuralEq for SetCellSer
impl StructuralPartialEq for SetCellSer
Auto Trait Implementations§
impl RefUnwindSafe for SetCellSer
impl Send for SetCellSer
impl Sync for SetCellSer
impl Unpin for SetCellSer
impl UnwindSafe for SetCellSer
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