pub struct Step { /* private fields */ }Implementations
sourceimpl Step
impl Step
pub fn new(elements: Vec<Box<dyn Element>>) -> Self
pub fn elements(&self) -> &Vec<Box<dyn Element>>
pub fn elements_mut(&mut self) -> &mut Vec<Box<dyn Element>>
pub fn get_element(&self, element_index: usize) -> &dyn Element
pub fn get_element_mut(&mut self, element_index: usize) -> &mut dyn Element
Auto Trait Implementations
impl !RefUnwindSafe for Step
impl !Send for Step
impl !Sync for Step
impl Unpin for Step
impl !UnwindSafe for Step
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