Struct nu_plugin::test_helpers::CallStub
source · [−]pub struct CallStub { /* private fields */ }
Implementations
sourceimpl CallStub
impl CallStub
pub fn new() -> Self
pub fn with_named_parameter(&mut self, name: &str, value: Value) -> &mut Self
pub fn with_long_flag(&mut self, name: &str) -> &mut Self
pub fn with_parameter(&mut self, name: &str) -> Result<&mut Self, ShellError>
pub fn create(&self) -> CallInfo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CallStub
impl Send for CallStub
impl Sync for CallStub
impl Unpin for CallStub
impl UnwindSafe for CallStub
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more