pub struct PlatformSupport {
pub signal: String,
pub linux: SupportLevel,
pub macos: SupportLevel,
pub freebsd: SupportLevel,
pub windows: WindowsSupportLevel,
pub fallback: Option<FallbackBehavior>,
pub notes: String,
}Expand description
Platform support entry from the support matrix.
Fields§
§signal: StringSignal name
linux: SupportLevelLinux support level
macos: SupportLevelmacOS support level
freebsd: SupportLevelFreeBSD support level
windows: WindowsSupportLevelWindows support level
fallback: Option<FallbackBehavior>Fallback behavior for unsupported platforms
notes: StringAdditional notes
Trait Implementations§
Source§impl Clone for PlatformSupport
impl Clone for PlatformSupport
Source§fn clone(&self) -> PlatformSupport
fn clone(&self) -> PlatformSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformSupport
impl Debug for PlatformSupport
impl Eq for PlatformSupport
Source§impl PartialEq for PlatformSupport
impl PartialEq for PlatformSupport
impl StructuralPartialEq for PlatformSupport
Auto Trait Implementations§
impl Freeze for PlatformSupport
impl RefUnwindSafe for PlatformSupport
impl Send for PlatformSupport
impl Sync for PlatformSupport
impl Unpin for PlatformSupport
impl UnsafeUnpin for PlatformSupport
impl UnwindSafe for PlatformSupport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.