pub struct PerlConfig {
pub dict: HashMap<String, String>,
/* private fields */
}
Fields§
§dict: HashMap<String, String>
Implementations§
Source§impl PerlConfig
impl PerlConfig
pub fn new(perl: &str) -> Self
pub fn command(&self, args: &[&str]) -> Command
pub fn read_ccopts(&self) -> Result<Vec<String>, Error>
pub fn read_ldopts(&self) -> Result<Vec<String>, Error>
pub fn is_defined(&self, name: &str) -> Result<bool, Error>
pub fn emit_cargo_ldopts(&self)
pub fn emit_perlapi_vers(&self, min: i32, max: i32)
pub fn emit_features(&self, configs: &[&str])
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerlConfig
impl RefUnwindSafe for PerlConfig
impl Send for PerlConfig
impl Sync for PerlConfig
impl Unpin for PerlConfig
impl UnwindSafe for PerlConfig
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