pub struct BridgeLoadOptions {
pub explicit_library_path: Option<PathBuf>,
pub explicit_library_dir: Option<PathBuf>,
}Expand description
Options for overriding how the bridge library is located at runtime.
Fields§
§explicit_library_path: Option<PathBuf>An explicit full path to the bridge library file.
explicit_library_dir: Option<PathBuf>An explicit directory that contains the bridge library file.
Implementations§
Source§impl BridgeLoadOptions
impl BridgeLoadOptions
Sourcepub fn with_explicit_library_path(self, path: impl Into<PathBuf>) -> Self
pub fn with_explicit_library_path(self, path: impl Into<PathBuf>) -> Self
Return options that load the bridge from an explicit file path.
Sourcepub fn with_explicit_library_dir(self, path: impl Into<PathBuf>) -> Self
pub fn with_explicit_library_dir(self, path: impl Into<PathBuf>) -> Self
Return options that load the bridge from an explicit directory.
Trait Implementations§
Source§impl Clone for BridgeLoadOptions
impl Clone for BridgeLoadOptions
Source§fn clone(&self) -> BridgeLoadOptions
fn clone(&self) -> BridgeLoadOptions
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 BridgeLoadOptions
impl Debug for BridgeLoadOptions
Source§impl Default for BridgeLoadOptions
impl Default for BridgeLoadOptions
Source§fn default() -> BridgeLoadOptions
fn default() -> BridgeLoadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BridgeLoadOptions
impl RefUnwindSafe for BridgeLoadOptions
impl Send for BridgeLoadOptions
impl Sync for BridgeLoadOptions
impl Unpin for BridgeLoadOptions
impl UnsafeUnpin for BridgeLoadOptions
impl UnwindSafe for BridgeLoadOptions
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