pub struct Build { /* private fields */ }Expand description
A builder for compiling Windows resources.
Implementations§
Source§impl Build
impl Build
Sourcepub fn include<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
pub fn include<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
Specifies an additional include path to use during preprocessing.
Sourcepub fn define<'a, V: Into<Option<&'a str>>>(
&mut self,
name: &str,
value: V,
) -> &mut Self
pub fn define<'a, V: Into<Option<&'a str>>>( &mut self, name: &str, value: V, ) -> &mut Self
Specifies an additional preprocessor definition to use during preprocessing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
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