Struct contained_turing::instructions::Instruction
source · pub struct Instruction<S: Symbolic>(_, _);Implementations§
Trait Implementations§
source§impl<S: Clone + Symbolic> Clone for Instruction<S>
impl<S: Clone + Symbolic> Clone for Instruction<S>
source§fn clone(&self) -> Instruction<S>
fn clone(&self) -> Instruction<S>
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<S: Default + Symbolic> Default for Instruction<S>
impl<S: Default + Symbolic> Default for Instruction<S>
source§fn default() -> Instruction<S>
fn default() -> Instruction<S>
Returns the “default value” for a type. Read more
source§impl<'de, S> Deserialize<'de> for Instruction<S>where
S: Deserialize<'de> + Symbolic,
impl<'de, S> Deserialize<'de> for Instruction<S>where S: Deserialize<'de> + Symbolic,
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<S: Symbolic> Extend<Instruction<S>> for Iter<S>
impl<S: Symbolic> Extend<Instruction<S>> for Iter<S>
source§fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<S: Symbolic> Extend<Instruction<S>> for Machine<S>
impl<S: Symbolic> Extend<Instruction<S>> for Machine<S>
source§fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<S: Symbolic> Extend<Instruction<S>> for Program<S>
impl<S: Symbolic> Extend<Instruction<S>> for Program<S>
source§fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Instruction<S>>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<S: Symbolic> Include<Instruction<S>> for Program<S>
impl<S: Symbolic> Include<Instruction<S>> for Program<S>
fn include(&mut self, inst: Instruction<S>)
source§impl<S: Ord + Symbolic> Ord for Instruction<S>
impl<S: Ord + Symbolic> Ord for Instruction<S>
source§fn cmp(&self, other: &Instruction<S>) -> Ordering
fn cmp(&self, other: &Instruction<S>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<S: PartialEq + Symbolic> PartialEq<Instruction<S>> for Instruction<S>
impl<S: PartialEq + Symbolic> PartialEq<Instruction<S>> for Instruction<S>
source§fn eq(&self, other: &Instruction<S>) -> bool
fn eq(&self, other: &Instruction<S>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<S: PartialOrd + Symbolic> PartialOrd<Instruction<S>> for Instruction<S>
impl<S: PartialOrd + Symbolic> PartialOrd<Instruction<S>> for Instruction<S>
source§fn partial_cmp(&self, other: &Instruction<S>) -> Option<Ordering>
fn partial_cmp(&self, other: &Instruction<S>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more