pub struct ResBuilder { /* private fields */ }
Expand description
Windows Resource file builder.
Implementations§
Source§impl ResBuilder
impl ResBuilder
pub fn new() -> Self
Sourcepub fn from_env() -> Result<Self, ResError>
pub fn from_env() -> Result<Self, ResError>
Creates a resource with some info inferred from cargo environment variables.
Same as calling: ResBuilder::new().push(VersionInfo::from_env()?)
Trait Implementations§
Source§impl Default for ResBuilder
impl Default for ResBuilder
Source§fn default() -> ResBuilder
fn default() -> ResBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResBuilder
impl !RefUnwindSafe for ResBuilder
impl !Send for ResBuilder
impl !Sync for ResBuilder
impl Unpin for ResBuilder
impl !UnwindSafe for ResBuilder
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