pub enum Executable {
Simple(PathBuf),
Multiple(Vec<String>),
}
Variants§
Implementations§
Source§impl Executable
impl Executable
pub fn interpreted(interpreter: String, source: &Source) -> Self
Trait Implementations§
Source§impl Clone for Executable
impl Clone for Executable
Source§fn clone(&self) -> Executable
fn clone(&self) -> Executable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Executable
impl Debug for Executable
Source§impl<'de> Deserialize<'de> for Executable
impl<'de> Deserialize<'de> for Executable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Executable> for Vec<String>
impl From<&Executable> for Vec<String>
Source§fn from(exec: &Executable) -> Self
fn from(exec: &Executable) -> Self
Converts to this type from the input type.
Source§impl From<PathBuf> for Executable
impl From<PathBuf> for Executable
Source§impl PartialEq for Executable
impl PartialEq for Executable
Source§impl Serialize for Executable
impl Serialize for Executable
impl Eq for Executable
impl StructuralPartialEq for Executable
Auto Trait Implementations§
impl Freeze for Executable
impl RefUnwindSafe for Executable
impl Send for Executable
impl Sync for Executable
impl Unpin for Executable
impl UnwindSafe for Executable
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