Enum track8_program::S [−][src]
pub enum S { Main, Read { buf: CSt, }, Write { buf: CSt, }, Stack { buf: CSt, }, Print { escap: bool, buf: CSt, }, Stopped, }
Variants
Main
Read
Fields of Read
buf: CSt |
Write
Fields of Write
buf: CSt |
Stack
Fields of Stack
buf: CSt |
Print
Fields of Print
escap: bool | |
buf: CSt |
Stopped
Trait Implementations
impl Clone for S
[src]
impl Clone for S
fn clone(&self) -> S
[src]
fn clone(&self) -> S
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for S
[src]
impl Debug for S
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialOrd for S
[src]
impl PartialOrd for S
fn partial_cmp(&self, other: &S) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &S) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &S) -> bool
[src]
fn lt(&self, other: &S) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &S) -> bool
[src]
fn le(&self, other: &S) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &S) -> bool
[src]
fn gt(&self, other: &S) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &S) -> bool
[src]
fn ge(&self, other: &S) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for S
[src]
impl Ord for S
fn cmp(&self, other: &S) -> Ordering
[src]
fn cmp(&self, other: &S) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for S
[src]
impl PartialEq for S
fn eq(&self, other: &S) -> bool
[src]
fn eq(&self, other: &S) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &S) -> bool
[src]
fn ne(&self, other: &S) -> bool
This method tests for !=
.
impl Eq for S
[src]
impl Eq for S
impl Default for S
[src]
impl Default for S