pub struct NativeEntry {
pub macos_arm64: Option<String>,
pub macos_x64: Option<String>,
pub windows_x64: Option<String>,
pub windows_arm64: Option<String>,
pub linux_x64: Option<String>,
pub linux_arm64: Option<String>,
}Fields§
§macos_arm64: Option<String>§macos_x64: Option<String>§windows_x64: Option<String>§windows_arm64: Option<String>§linux_x64: Option<String>§linux_arm64: Option<String>Implementations§
Source§impl NativeEntry
impl NativeEntry
Sourcepub fn for_current_platform(&self) -> Option<&str>
pub fn for_current_platform(&self) -> Option<&str>
Return the library path for the current platform/arch, if present.
Trait Implementations§
Source§impl Clone for NativeEntry
impl Clone for NativeEntry
Source§fn clone(&self) -> NativeEntry
fn clone(&self) -> NativeEntry
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 NativeEntry
impl Debug for NativeEntry
Source§impl Default for NativeEntry
impl Default for NativeEntry
Source§fn default() -> NativeEntry
fn default() -> NativeEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NativeEntry
impl<'de> Deserialize<'de> for NativeEntry
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 NativeEntry
impl RefUnwindSafe for NativeEntry
impl Send for NativeEntry
impl Sync for NativeEntry
impl Unpin for NativeEntry
impl UnsafeUnpin for NativeEntry
impl UnwindSafe for NativeEntry
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