pub struct DynamicLibraryConfig {
pub android: Option<DynamicLibraryPlatformConfig>,
pub fuchsia: Option<DynamicLibraryPlatformConfig>,
pub ios: Option<DynamicLibraryPlatformConfig>,
pub linux: Option<DynamicLibraryPlatformConfig>,
pub macos: Option<DynamicLibraryPlatformConfig>,
pub windows: Option<DynamicLibraryPlatformConfig>,
}
Expand description
Defines, how the dynamic library should be loaded on each of dart’s known platforms.
Fields§
§android: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
of Android
.
fuchsia: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
Fuchsia
.
ios: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
iOS
.
linux: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
Linux
.
macos: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
macOS
.
windows: Option<DynamicLibraryPlatformConfig>
how to load the dynamic library when the operating system is a version
Windows
.
Trait Implementations§
Source§impl Clone for DynamicLibraryConfig
impl Clone for DynamicLibraryConfig
Source§fn clone(&self) -> DynamicLibraryConfig
fn clone(&self) -> DynamicLibraryConfig
Returns a copy 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 DynamicLibraryConfig
impl Debug for DynamicLibraryConfig
Source§impl Default for DynamicLibraryConfig
impl Default for DynamicLibraryConfig
Source§fn default() -> DynamicLibraryConfig
fn default() -> DynamicLibraryConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicLibraryConfig
impl RefUnwindSafe for DynamicLibraryConfig
impl Send for DynamicLibraryConfig
impl Sync for DynamicLibraryConfig
impl Unpin for DynamicLibraryConfig
impl UnwindSafe for DynamicLibraryConfig
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