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§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 Forget for FfiLibrary
impl Freeze for FfiLibrary
impl Move for FfiLibrary
impl RefUnwindSafe for FfiLibrary
impl Send for FfiLibrary
impl Sync for FfiLibrary
impl Unpin for FfiLibrary
impl UnsafeUnpin 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