pub struct StepRegistry { /* private fields */ }Expand description
Registry of step factories keyed by type name.
Implementations§
Source§impl StepRegistry
impl StepRegistry
pub fn new() -> Self
Sourcepub fn register<S: StepBody + Default + 'static>(&mut self)
pub fn register<S: StepBody + Default + 'static>(&mut self)
Register a step type using its full type name as the key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepRegistry
impl !RefUnwindSafe for StepRegistry
impl Send for StepRegistry
impl Sync for StepRegistry
impl Unpin for StepRegistry
impl UnsafeUnpin for StepRegistry
impl !UnwindSafe for StepRegistry
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