Struct nu_plugin::PluginDeclaration
source · [−]pub struct PluginDeclaration { /* private fields */ }Implementations
Trait Implementations
sourceimpl Clone for PluginDeclaration
impl Clone for PluginDeclaration
sourcefn clone(&self) -> PluginDeclaration
fn clone(&self) -> PluginDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Command for PluginDeclaration
impl Command for PluginDeclaration
fn name(&self) -> &str
fn signature(&self) -> Signature
fn usage(&self) -> &str
fn run(
&self,
engine_state: &EngineState,
stack: &mut Stack,
call: &Call,
input: PipelineData
) -> Result<PipelineData, ShellError>
fn is_plugin(&self) -> Option<(&PathBuf, &str, &Option<PathBuf>)>
fn extra_usage(&self) -> &str
fn is_binary(&self) -> bool
fn is_private(&self) -> bool
fn examples(&self) -> Vec<Example, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn is_builtin(&self) -> bool
fn is_known_external(&self) -> bool
fn is_sub(&self) -> bool
fn get_block_id(&self) -> Option<usize>
Auto Trait Implementations
impl RefUnwindSafe for PluginDeclaration
impl Send for PluginDeclaration
impl Sync for PluginDeclaration
impl Unpin for PluginDeclaration
impl UnwindSafe for PluginDeclaration
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
sourceimpl<T> CommandClone for T where
T: 'static + Command + Clone,
impl<T> CommandClone for T where
T: 'static + Command + Clone,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more