Struct puffin_build::library::Library
source · pub struct Library {
name: String,
config: Config,
metadata: Metadata,
vendor_dir: VendorDir,
}
Fields§
§name: String
§config: Config
§metadata: Metadata
§vendor_dir: VendorDir
Implementations§
source§impl Library
impl Library
pub fn new( name: impl Into<String>, config: impl Into<Config>, metadata: impl Into<Metadata>, vendor_dir: VendorDir, ) -> Self
pub fn id(&self) -> String
pub fn name(&self) -> String
pub fn path(&self) -> PathBuf
pub fn config(&self) -> &Config
pub fn metadata(&self) -> &Metadata
pub fn include_dirs(&self) -> Vec<PathBuf>
pub fn link_libraries(&self) -> Vec<PathBuf>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)