pub struct ImportLibrary { /* private fields */ }
Expand description
Windows import library generator
Implementations§
Source§impl ImportLibrary
impl ImportLibrary
Sourcepub fn new(
def: &str,
machine: MachineType,
flavor: Flavor,
) -> Result<Self, Error>
pub fn new( def: &str, machine: MachineType, flavor: Flavor, ) -> Result<Self, Error>
Create new import library generator from module definition text content
Sourcepub fn from_def(def: ModuleDef, machine: MachineType, flavor: Flavor) -> Self
pub fn from_def(def: ModuleDef, machine: MachineType, flavor: Flavor) -> Self
Create new import library generator from ModuleDef
Sourcepub fn import_name(&self) -> &str
pub fn import_name(&self) -> &str
Get import library name
Trait Implementations§
Source§impl Clone for ImportLibrary
impl Clone for ImportLibrary
Source§fn clone(&self) -> ImportLibrary
fn clone(&self) -> ImportLibrary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ImportLibrary
impl RefUnwindSafe for ImportLibrary
impl Send for ImportLibrary
impl Sync for ImportLibrary
impl Unpin for ImportLibrary
impl UnwindSafe for ImportLibrary
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