pub struct PerlCommand { /* private fields */ }
Implementations§
Source§impl PerlCommand
impl PerlCommand
pub fn new(perl: &str) -> Self
pub fn command(&self, args: &[&str]) -> Command
pub fn read_raw_config(&self, configs: &[&str]) -> Result<String, Error>
pub fn read_ccopts(&self) -> Result<Vec<String>, Error>
pub fn read_ldopts(&self) -> Result<Vec<String>, Error>
pub fn read_raw_embed_opts(&self, cmd: &str) -> Result<String, Error>
pub fn read_embed_opts( &self, cmd: &str, prefix: &str, ) -> Result<Vec<String>, Error>
pub fn emit_cargo_ldopts(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerlCommand
impl RefUnwindSafe for PerlCommand
impl Send for PerlCommand
impl Sync for PerlCommand
impl Unpin for PerlCommand
impl UnwindSafe for PerlCommand
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