pub enum LinkKind {
Static,
Dynamic,
System,
Framework,
Unknown,
}Expand description
Represents the different kinds of linkage for a library.
The LinkKind enum represents the different ways a library can be linked:
Variants§
Static
The library is statically linked, meaning its code is included directly in the final binary.
Dynamic
The library is dynamically linked, meaning the final binary references the library at runtime.
System
The library is a system library, meaning it is provided by the operating system and not included in the final binary.
Framework
The library is a framework, like [System]: self::LinkKind#variant.System it is provided by the operating system but used only on macos.
Unknown
The library is unknown, meaning its kind could not be determined.
Trait Implementations§
impl Eq for LinkKind
impl StructuralPartialEq for LinkKind
Auto Trait Implementations§
impl Freeze for LinkKind
impl RefUnwindSafe for LinkKind
impl Send for LinkKind
impl Sync for LinkKind
impl Unpin for LinkKind
impl UnwindSafe for LinkKind
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