Struct pilka_lib::ash::vk::PhysicalDeviceType [−]
#[repr(transparent)]pub struct PhysicalDeviceType(_);
Expand description
Implementations
impl PhysicalDeviceType
impl PhysicalDeviceType
pub const fn from_raw(x: i32) -> PhysicalDeviceType
impl PhysicalDeviceType
impl PhysicalDeviceType
pub const OTHER: PhysicalDeviceType
pub const INTEGRATED_GPU: PhysicalDeviceType
pub const DISCRETE_GPU: PhysicalDeviceType
pub const VIRTUAL_GPU: PhysicalDeviceType
pub const CPU: PhysicalDeviceType
Trait Implementations
impl Clone for PhysicalDeviceType
impl Clone for PhysicalDeviceType
pub fn clone(&self) -> PhysicalDeviceType
pub fn clone(&self) -> PhysicalDeviceType
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for PhysicalDeviceType
impl Debug for PhysicalDeviceType
impl Default for PhysicalDeviceType
impl Default for PhysicalDeviceType
pub fn default() -> PhysicalDeviceType
pub fn default() -> PhysicalDeviceType
Returns the “default value” for a type. Read more
impl Hash for PhysicalDeviceType
impl Hash for PhysicalDeviceType
impl Ord for PhysicalDeviceType
impl Ord for PhysicalDeviceType
pub fn cmp(&self, other: &PhysicalDeviceType) -> Ordering
pub fn cmp(&self, other: &PhysicalDeviceType) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<PhysicalDeviceType> for PhysicalDeviceType
impl PartialEq<PhysicalDeviceType> for PhysicalDeviceType
pub fn eq(&self, other: &PhysicalDeviceType) -> bool
pub fn eq(&self, other: &PhysicalDeviceType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PhysicalDeviceType) -> bool
pub fn ne(&self, other: &PhysicalDeviceType) -> bool
This method tests for !=
.
impl PartialOrd<PhysicalDeviceType> for PhysicalDeviceType
impl PartialOrd<PhysicalDeviceType> for PhysicalDeviceType
pub fn partial_cmp(&self, other: &PhysicalDeviceType) -> Option<Ordering>
pub fn partial_cmp(&self, other: &PhysicalDeviceType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Copy for PhysicalDeviceType
impl Eq for PhysicalDeviceType
impl StructuralEq for PhysicalDeviceType
impl StructuralPartialEq for PhysicalDeviceType
Auto Trait Implementations
impl RefUnwindSafe for PhysicalDeviceType
impl Send for PhysicalDeviceType
impl Sync for PhysicalDeviceType
impl Unpin for PhysicalDeviceType
impl UnwindSafe for PhysicalDeviceType
Blanket Implementations
Mutably borrows from an owned value. Read more