pub struct Shebang {
pub interp: Vec<u8>,
pub arg: Option<Vec<u8>>,
}Expand description
The interpreter named by a shebang line, with its optional argument.
Fields§
§interp: Vec<u8>Interpreter path as written (a guest path).
arg: Option<Vec<u8>>Everything after the interpreter, trimmed, passed as one argument.
Trait Implementations§
impl Eq for Shebang
impl StructuralPartialEq for Shebang
Auto Trait Implementations§
impl Freeze for Shebang
impl RefUnwindSafe for Shebang
impl Send for Shebang
impl Sync for Shebang
impl Unpin for Shebang
impl UnsafeUnpin for Shebang
impl UnwindSafe for Shebang
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