pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn new() -> Self
pub fn project(&mut self, name: &str) -> &mut Self
pub fn profile(&mut self, profile: &str) -> &mut Self
pub fn link_type(&mut self, kind: LinkType) -> &mut Self
pub fn include(&mut self, path: &str) -> &mut Self
pub fn link_path(&mut self, path: &str) -> &mut Self
pub fn link(&mut self, path: &str) -> &mut Self
pub fn define(&mut self, name: &str, value: &str) -> &mut Self
pub fn generator(&self) -> String
pub fn build(&mut self)
pub fn build_exce(&mut self)
pub fn build_static_lib(&mut self)
pub fn build_dynamic_lib(&mut self)
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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