pub struct Rustc { /* private fields */ }Implementations§
Source§impl Rustc
impl Rustc
pub fn println<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn println_cargo<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn println_clippy<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn println_rustc<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn rerun_if_changed<P: AsRef<Path>>(&self, path: P)
pub unsafe fn rustc_check_cfg_raw<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn rustc_check_cfg<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn rustc_check_cfg_wrap_key(&self, cfg: &str)
pub fn rustc_check_cfg_wrap_key_value(&self, cfg: &str, value: &str)
pub fn rustc_check_cfg_wrap_key_values(&self, cfg: &str, values: &[&str])
pub fn rustc_cfg<F: FnOnce() -> D, D: Display>(&self, msg: F)
pub fn rustc_cfg_wrap_key(&self, cfg: &str)
pub fn rustc_cfg_wrap_key_if_env_set(&self, cfg: &str, env: &str)
pub fn rustc_cfg_wrap_key_if_env_has_value( &self, cfg: &str, env: &str, env_value: &str, )
pub fn rustc_cfg_wrap_key_value(&self, cfg: &str, value: &str)
pub fn rustc_cfg_wrap_key_value_if_env_set( &self, cfg: &str, value: &str, env: &str, )
pub fn rustc_cfg_wrap_key_value_if_env_has_value( &self, cfg: &str, value: &str, env: &str, env_value: &str, )
pub fn rustc_cfg_wrap_key_values(&self, cfg: &str, values: &[&str])
pub fn rustc_cfg_wrap_key_values_if_env_set( &self, cfg: &str, values: &[&str], env: &str, )
pub fn rustc_cfg_wrap_key_values_if_env_has_value( &self, cfg: &str, values: &[&str], env: &str, env_value: &str, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rustc
impl RefUnwindSafe for Rustc
impl Send for Rustc
impl Sync for Rustc
impl Unpin for Rustc
impl UnwindSafe for Rustc
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