#[non_exhaustive]pub struct MultiPlatformInfo {
pub capabilities: MultiPlatformCapabilities,
pub platform_count: u8,
pub descriptor_count: u8,
pub host_count: u8,
pub current_host: HostIndex,
pub current_host_platform: Option<u8>,
}Expand description
Static MultiPlatform feature information.
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.capabilities: MultiPlatformCapabilitiesFeature capabilities.
platform_count: u8Number of platform IDs.
descriptor_count: u8Number of platform descriptor rows.
host_count: u8Number of host slots.
current_host: HostIndexCurrent host slot.
current_host_platform: Option<u8>Platform index selected for the current host.
Trait Implementations§
Source§impl Clone for MultiPlatformInfo
impl Clone for MultiPlatformInfo
Source§fn clone(&self) -> MultiPlatformInfo
fn clone(&self) -> MultiPlatformInfo
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 MultiPlatformInfo
Source§impl Debug for MultiPlatformInfo
impl Debug for MultiPlatformInfo
impl Eq for MultiPlatformInfo
Source§impl Hash for MultiPlatformInfo
impl Hash for MultiPlatformInfo
Source§impl PartialEq for MultiPlatformInfo
impl PartialEq for MultiPlatformInfo
impl StructuralPartialEq for MultiPlatformInfo
Auto Trait Implementations§
impl Freeze for MultiPlatformInfo
impl RefUnwindSafe for MultiPlatformInfo
impl Send for MultiPlatformInfo
impl Sync for MultiPlatformInfo
impl Unpin for MultiPlatformInfo
impl UnsafeUnpin for MultiPlatformInfo
impl UnwindSafe for MultiPlatformInfo
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