Struct nu_engine::ValueShell [−][src]
pub struct ValueShell { /* fields omitted */ }Implementations
impl ValueShell[src]
impl ValueShell[src]pub fn new(value: Value) -> ValueShell[src]
Trait Implementations
impl Clone for ValueShell[src]
impl Clone for ValueShell[src]fn clone(&self) -> ValueShell[src]
fn clone(&self) -> ValueShell[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ValueShell[src]
impl Debug for ValueShell[src]impl Shell for ValueShell[src]
impl Shell for ValueShell[src]fn name(&self) -> String[src]
fn homedir(&self) -> Option<PathBuf>[src]
fn ls(
&self,
_: LsArgs,
name_tag: Tag,
_ctrl_c: Arc<AtomicBool>
) -> Result<ActionStream, ShellError>[src]
&self,
_: LsArgs,
name_tag: Tag,
_ctrl_c: Arc<AtomicBool>
) -> Result<ActionStream, ShellError>
fn cd(&self, args: CdArgs, name: Tag) -> Result<ActionStream, ShellError>[src]
fn cp(
&self,
_args: CopyArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>[src]
&self,
_args: CopyArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>
fn mv(
&self,
_args: MvArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>[src]
&self,
_args: MvArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>
fn mkdir(
&self,
_args: MkdirArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>[src]
&self,
_args: MkdirArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>
fn rm(
&self,
_args: RemoveArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>[src]
&self,
_args: RemoveArgs,
name: Tag,
_path: &str
) -> Result<ActionStream, ShellError>
fn path(&self) -> String[src]
fn pwd(&self, args: EvaluatedCommandArgs) -> Result<ActionStream, ShellError>[src]
fn set_path(&mut self, path: String)[src]
fn open(
&self,
_path: &Path,
_name: Span,
_with_encoding: Option<&'static Encoding>
) -> Result<Box<dyn Iterator<Item = Result<StringOrBinary, ShellError>> + Send + Sync>, ShellError>[src]
&self,
_path: &Path,
_name: Span,
_with_encoding: Option<&'static Encoding>
) -> Result<Box<dyn Iterator<Item = Result<StringOrBinary, ShellError>> + Send + Sync>, ShellError>
fn save(
&mut self,
_path: &Path,
_contents: &[u8],
_name: Span
) -> Result<OutputStream, ShellError>[src]
&mut self,
_path: &Path,
_contents: &[u8],
_name: Span
) -> Result<OutputStream, ShellError>
fn is_interactive(&self) -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for ValueShell
impl Send for ValueShell
impl Sync for ValueShell
impl Unpin for ValueShell
impl UnwindSafe for ValueShell
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> SpannedItem for T[src]
impl<T> SpannedItem for T[src]impl<T> TaggedItem for T[src]
impl<T> TaggedItem for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,