#[non_exhaustive]pub struct PlatformDescriptor {
pub platform_index: u8,
pub descriptor_index: u8,
pub os_mask: OsMask,
pub from_version: u8,
pub from_revision: u8,
pub to_version: u8,
pub to_revision: u8,
}Expand description
A platform descriptor row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.platform_index: u8Platform index this descriptor belongs to.
descriptor_index: u8Descriptor row index.
os_mask: OsMaskCovered operating systems.
from_version: u8First supported OS major version.
from_revision: u8First supported OS revision.
to_version: u8Last supported OS major version.
to_revision: u8Last supported OS revision.
Trait Implementations§
Source§impl Clone for PlatformDescriptor
impl Clone for PlatformDescriptor
Source§fn clone(&self) -> PlatformDescriptor
fn clone(&self) -> PlatformDescriptor
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 moreimpl Copy for PlatformDescriptor
Source§impl Debug for PlatformDescriptor
impl Debug for PlatformDescriptor
impl Eq for PlatformDescriptor
Source§impl Hash for PlatformDescriptor
impl Hash for PlatformDescriptor
Source§impl PartialEq for PlatformDescriptor
impl PartialEq for PlatformDescriptor
impl StructuralPartialEq for PlatformDescriptor
Auto Trait Implementations§
impl Freeze for PlatformDescriptor
impl RefUnwindSafe for PlatformDescriptor
impl Send for PlatformDescriptor
impl Sync for PlatformDescriptor
impl Unpin for PlatformDescriptor
impl UnsafeUnpin for PlatformDescriptor
impl UnwindSafe for PlatformDescriptor
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