pub enum BashSource {
File(PathBuf),
Script(BString),
}Variants§
Trait Implementations§
Source§impl AsRef<BashSource> for BashSource
impl AsRef<BashSource> for BashSource
Source§fn as_ref(&self) -> &BashSource
fn as_ref(&self) -> &BashSource
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for BashSource
impl RefUnwindSafe for BashSource
impl Send for BashSource
impl Sync for BashSource
impl Unpin for BashSource
impl UnwindSafe for BashSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more