Struct rlifesrc_lib::rules::life::NbhdDescGen
source · pub struct NbhdDescGen(u16, Option<State>);
Expand description
The neighborhood descriptor.
Including a descriptor for the corresponding non-Generations rule, and the states of the successor.
Tuple Fields§
§0: u16
§1: Option<State>
Trait Implementations§
source§impl Clone for NbhdDescGen
impl Clone for NbhdDescGen
source§fn clone(&self) -> NbhdDescGen
fn clone(&self) -> NbhdDescGen
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 NbhdDescGen
impl Debug for NbhdDescGen
source§impl Default for NbhdDescGen
impl Default for NbhdDescGen
source§fn default() -> NbhdDescGen
fn default() -> NbhdDescGen
Returns the “default value” for a type. Read more
source§impl Hash for NbhdDescGen
impl Hash for NbhdDescGen
source§impl PartialEq for NbhdDescGen
impl PartialEq for NbhdDescGen
source§fn eq(&self, other: &NbhdDescGen) -> bool
fn eq(&self, other: &NbhdDescGen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NbhdDescGen
impl Eq for NbhdDescGen
impl StructuralEq for NbhdDescGen
impl StructuralPartialEq for NbhdDescGen
Auto Trait Implementations§
impl RefUnwindSafe for NbhdDescGen
impl Send for NbhdDescGen
impl Sync for NbhdDescGen
impl Unpin for NbhdDescGen
impl UnwindSafe for NbhdDescGen
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