Struct subplotlib::steplibrary::files::Files
source · [−]pub struct Files { /* private fields */ }
Expand description
Context data for the files
step library
This context contains a mapping from filename to metadata so that the various steps remember metadata and then query it later can find it.
This context depends on, and will automatically register, the context for
the datadir
step library.
Because files can typically only be named in Subplot documents, we assume they all have names which can be rendered as utf-8 strings.
Trait Implementations
sourceimpl ContextElement for Files
impl ContextElement for Files
sourcefn scenario_starts(&mut self) -> StepResult
fn scenario_starts(&mut self) -> StepResult
Scenario starts Read more
sourcefn scenario_stops(&mut self) -> StepResult
fn scenario_stops(&mut self) -> StepResult
Scenario stops Read more
sourcefn step_starts(&mut self, step_title: &str) -> StepResult
fn step_starts(&mut self, step_title: &str) -> StepResult
Entry to a step function Read more
sourcefn step_stops(&mut self) -> StepResult
fn step_stops(&mut self) -> StepResult
Exit from a step function Read more
Auto Trait Implementations
impl RefUnwindSafe for Files
impl Send for Files
impl Sync for Files
impl Unpin for Files
impl UnwindSafe for Files
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more