pub struct FfiLibrary {
pub name: String,
pub link: String,
pub functions: Vec<FfiFunction>,
}Expand description
A library binding in an FFI manifest
Fields§
§name: StringLibrary name for reference
link: StringLinker flag (e.g., “sqlite3” for -lsqlite3)
functions: Vec<FfiFunction>Function bindings
Trait Implementations§
Source§impl Clone for FfiLibrary
impl Clone for FfiLibrary
Source§fn clone(&self) -> FfiLibrary
fn clone(&self) -> FfiLibrary
Returns a duplicate 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 moreSource§impl Debug for FfiLibrary
impl Debug for FfiLibrary
Source§impl<'de> Deserialize<'de> for FfiLibrary
impl<'de> Deserialize<'de> for FfiLibrary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FfiLibrary
impl RefUnwindSafe for FfiLibrary
impl Send for FfiLibrary
impl Sync for FfiLibrary
impl Unpin for FfiLibrary
impl UnwindSafe for FfiLibrary
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