pub struct StepArguments { /* private fields */ }
Expand description
Arguments passed for each step of the game
Implementations§
Source§impl StepArguments
impl StepArguments
pub fn new(input: InputArguments) -> Self
Sourcepub fn input(&self) -> &InputArguments
pub fn input(&self) -> &InputArguments
Get the input for this step
Trait Implementations§
Source§impl Default for StepArguments
impl Default for StepArguments
Source§fn default() -> StepArguments
fn default() -> StepArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepArguments
impl<'de> Deserialize<'de> for StepArguments
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
Auto Trait Implementations§
impl Freeze for StepArguments
impl RefUnwindSafe for StepArguments
impl Send for StepArguments
impl Sync for StepArguments
impl Unpin for StepArguments
impl UnwindSafe for StepArguments
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