Struct nu_cli::NuScript [−][src]
Fields
filepath: Option<OsString>
contents: String
Implementations
impl NuScript
[src]
impl NuScript
[src]pub fn code<'a>(
content: impl Iterator<Item = &'a str>
) -> Result<Self, ShellError>
[src]
content: impl Iterator<Item = &'a str>
) -> Result<Self, ShellError>
pub fn get_code(&self) -> &str
[src]
pub fn source_file(path: &OsStr) -> Result<Self, ShellError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for NuScript
impl Send for NuScript
impl Sync for NuScript
impl Unpin for NuScript
impl UnwindSafe for NuScript
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 T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should 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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,