[][src]Struct rlifesrc_lib::rules::Life

pub struct Life { /* fields omitted */ }

Totalistic life-like rules.

Methods

impl Life[src]

pub fn new(b: Vec<u8>, s: Vec<u8>) -> Self[src]

Constructs a new rule from the b and s data.

pub fn parse_rule(input: &str) -> Result<Self, ParseRuleError>[src]

Trait Implementations

impl Rule for Life[src]

type Desc = NbhdDesc

The type of neighborhood descriptor of the rule. Read more

impl ParseLife for Life[src]

A parser for the rule.

Auto Trait Implementations

impl Send for Life

impl Sync for Life

impl Unpin for Life

impl UnwindSafe for Life

impl RefUnwindSafe for Life

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,