pub enum NoDirective {}Expand description
The directives of a game that adds none: there are no such steps.
Trait Implementations§
Source§impl Clone for NoDirective
impl Clone for NoDirective
Source§fn clone(&self) -> NoDirective
fn clone(&self) -> NoDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoDirective
Source§impl Debug for NoDirective
impl Debug for NoDirective
Source§impl<'de> Deserialize<'de> for NoDirective
impl<'de> Deserialize<'de> for NoDirective
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 Directive for NoDirective
impl Directive for NoDirective
Source§fn parse(_name: &str, _args: &str) -> Option<Parsed<Self>>
fn parse(_name: &str, _args: &str) -> Option<Parsed<Self>>
Reads the line
@<name> <args> (args trimmed): None if none of
the game’s directives is called name; otherwise the step, if one
could be made, and every problem with the line.Source§fn print(&self) -> String
fn print(&self) -> String
The line as written, without its
@ (place market 3,12): what
print_scene writes. Parsing it gives the directive back.Source§fn kind(&self) -> Option<&'static str>
fn kind(&self) -> Option<&'static str>
For a directive that stays in force until the next one of its kind
(a place drawn behind the talk), that kind’s name, written as the
directive is (
place): every part of a @choice or an @if block
must then leave the same one in force. None for one that doesn’t
stay.impl Eq for NoDirective
Source§impl PartialEq for NoDirective
impl PartialEq for NoDirective
Source§impl Serialize for NoDirective
impl Serialize for NoDirective
impl StructuralPartialEq for NoDirective
Auto Trait Implementations§
impl Freeze for NoDirective
impl RefUnwindSafe for NoDirective
impl Send for NoDirective
impl Sync for NoDirective
impl Unpin for NoDirective
impl UnsafeUnpin for NoDirective
impl UnwindSafe for NoDirective
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