pub struct TuringInstruction {
pub from_state: String,
pub from_value: bool,
pub to_value: bool,
pub movement: Movement,
pub to_state: String,
}
Expand description
A Turing machine instruction
Fields§
§from_state: String
§from_value: bool
§to_value: bool
§movement: Movement
§to_state: String
Implementations§
Trait Implementations§
Source§impl Clone for TuringInstruction
impl Clone for TuringInstruction
Source§fn clone(&self) -> TuringInstruction
fn clone(&self) -> TuringInstruction
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 TuringInstruction
impl Debug for TuringInstruction
Source§impl<'de> Deserialize<'de> for TuringInstruction
impl<'de> Deserialize<'de> for TuringInstruction
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 Display for TuringInstruction
impl Display for TuringInstruction
Auto Trait Implementations§
impl Freeze for TuringInstruction
impl RefUnwindSafe for TuringInstruction
impl Send for TuringInstruction
impl Sync for TuringInstruction
impl Unpin for TuringInstruction
impl UnwindSafe for TuringInstruction
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