#[non_exhaustive]pub struct PlaytestArgs {
pub input: PlaytestInput,
pub report: Option<PathBuf>,
pub brief: bool,
}Expand description
What playtest’s arguments ask for: the input, the file to write the
JSON answer to, if any, and whether the text is brief.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input: PlaytestInputThe input.
report: Option<PathBuf>--report’s file, from the project’s folder.
brief: bool--brief: the text without the line per try (brief).
Trait Implementations§
Source§impl Clone for PlaytestArgs
impl Clone for PlaytestArgs
Source§fn clone(&self) -> PlaytestArgs
fn clone(&self) -> PlaytestArgs
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 moreSource§impl Debug for PlaytestArgs
impl Debug for PlaytestArgs
Source§impl Default for PlaytestArgs
impl Default for PlaytestArgs
Source§fn default() -> PlaytestArgs
fn default() -> PlaytestArgs
Returns the “default value” for a type. Read more
impl Eq for PlaytestArgs
Source§impl PartialEq for PlaytestArgs
impl PartialEq for PlaytestArgs
impl StructuralPartialEq for PlaytestArgs
Auto Trait Implementations§
impl Freeze for PlaytestArgs
impl RefUnwindSafe for PlaytestArgs
impl Send for PlaytestArgs
impl Sync for PlaytestArgs
impl Unpin for PlaytestArgs
impl UnsafeUnpin for PlaytestArgs
impl UnwindSafe for PlaytestArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.