Struct screen_13::prelude::vk::DeviceGroupPresentModeFlagsKHR
source · pub struct DeviceGroupPresentModeFlagsKHR(/* private fields */);
Expand description
Implementations§
source§impl DeviceGroupPresentModeFlagsKHR
impl DeviceGroupPresentModeFlagsKHR
pub const fn empty() -> DeviceGroupPresentModeFlagsKHR
pub const fn from_raw(x: u32) -> DeviceGroupPresentModeFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: DeviceGroupPresentModeFlagsKHR) -> bool
sourcepub const fn contains(self, other: DeviceGroupPresentModeFlagsKHR) -> bool
pub const fn contains(self, other: DeviceGroupPresentModeFlagsKHR) -> bool
Returns whether other
is a subset of self
source§impl DeviceGroupPresentModeFlagsKHR
impl DeviceGroupPresentModeFlagsKHR
sourcepub const LOCAL: DeviceGroupPresentModeFlagsKHR = _
pub const LOCAL: DeviceGroupPresentModeFlagsKHR = _
Present from local memory
sourcepub const REMOTE: DeviceGroupPresentModeFlagsKHR = _
pub const REMOTE: DeviceGroupPresentModeFlagsKHR = _
Present from remote memory
sourcepub const SUM: DeviceGroupPresentModeFlagsKHR = _
pub const SUM: DeviceGroupPresentModeFlagsKHR = _
Present sum of local and/or remote memory
sourcepub const LOCAL_MULTI_DEVICE: DeviceGroupPresentModeFlagsKHR = _
pub const LOCAL_MULTI_DEVICE: DeviceGroupPresentModeFlagsKHR = _
Each physical device presents from local memory
Trait Implementations§
source§impl BitAnd for DeviceGroupPresentModeFlagsKHR
impl BitAnd for DeviceGroupPresentModeFlagsKHR
§type Output = DeviceGroupPresentModeFlagsKHR
type Output = DeviceGroupPresentModeFlagsKHR
The resulting type after applying the
&
operator.source§fn bitand(
self,
rhs: DeviceGroupPresentModeFlagsKHR
) -> DeviceGroupPresentModeFlagsKHR
fn bitand( self, rhs: DeviceGroupPresentModeFlagsKHR ) -> DeviceGroupPresentModeFlagsKHR
Performs the
&
operation. Read moresource§impl BitAndAssign for DeviceGroupPresentModeFlagsKHR
impl BitAndAssign for DeviceGroupPresentModeFlagsKHR
source§fn bitand_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
fn bitand_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
Performs the
&=
operation. Read moresource§impl BitOr for DeviceGroupPresentModeFlagsKHR
impl BitOr for DeviceGroupPresentModeFlagsKHR
§type Output = DeviceGroupPresentModeFlagsKHR
type Output = DeviceGroupPresentModeFlagsKHR
The resulting type after applying the
|
operator.source§fn bitor(
self,
rhs: DeviceGroupPresentModeFlagsKHR
) -> DeviceGroupPresentModeFlagsKHR
fn bitor( self, rhs: DeviceGroupPresentModeFlagsKHR ) -> DeviceGroupPresentModeFlagsKHR
Performs the
|
operation. Read moresource§impl BitOrAssign for DeviceGroupPresentModeFlagsKHR
impl BitOrAssign for DeviceGroupPresentModeFlagsKHR
source§fn bitor_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
fn bitor_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
Performs the
|=
operation. Read moresource§impl BitXor for DeviceGroupPresentModeFlagsKHR
impl BitXor for DeviceGroupPresentModeFlagsKHR
§type Output = DeviceGroupPresentModeFlagsKHR
type Output = DeviceGroupPresentModeFlagsKHR
The resulting type after applying the
^
operator.source§fn bitxor(
self,
rhs: DeviceGroupPresentModeFlagsKHR
) -> DeviceGroupPresentModeFlagsKHR
fn bitxor( self, rhs: DeviceGroupPresentModeFlagsKHR ) -> DeviceGroupPresentModeFlagsKHR
Performs the
^
operation. Read moresource§impl BitXorAssign for DeviceGroupPresentModeFlagsKHR
impl BitXorAssign for DeviceGroupPresentModeFlagsKHR
source§fn bitxor_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
fn bitxor_assign(&mut self, rhs: DeviceGroupPresentModeFlagsKHR)
Performs the
^=
operation. Read moresource§impl Clone for DeviceGroupPresentModeFlagsKHR
impl Clone for DeviceGroupPresentModeFlagsKHR
source§fn clone(&self) -> DeviceGroupPresentModeFlagsKHR
fn clone(&self) -> DeviceGroupPresentModeFlagsKHR
Returns a copy 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 Default for DeviceGroupPresentModeFlagsKHR
impl Default for DeviceGroupPresentModeFlagsKHR
source§fn default() -> DeviceGroupPresentModeFlagsKHR
fn default() -> DeviceGroupPresentModeFlagsKHR
Returns the “default value” for a type. Read more
source§impl Not for DeviceGroupPresentModeFlagsKHR
impl Not for DeviceGroupPresentModeFlagsKHR
§type Output = DeviceGroupPresentModeFlagsKHR
type Output = DeviceGroupPresentModeFlagsKHR
The resulting type after applying the
!
operator.source§fn not(self) -> DeviceGroupPresentModeFlagsKHR
fn not(self) -> DeviceGroupPresentModeFlagsKHR
Performs the unary
!
operation. Read moresource§impl Ord for DeviceGroupPresentModeFlagsKHR
impl Ord for DeviceGroupPresentModeFlagsKHR
source§fn cmp(&self, other: &DeviceGroupPresentModeFlagsKHR) -> Ordering
fn cmp(&self, other: &DeviceGroupPresentModeFlagsKHR) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DeviceGroupPresentModeFlagsKHR
impl PartialEq for DeviceGroupPresentModeFlagsKHR
source§fn eq(&self, other: &DeviceGroupPresentModeFlagsKHR) -> bool
fn eq(&self, other: &DeviceGroupPresentModeFlagsKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceGroupPresentModeFlagsKHR
impl PartialOrd for DeviceGroupPresentModeFlagsKHR
source§fn partial_cmp(
&self,
other: &DeviceGroupPresentModeFlagsKHR
) -> Option<Ordering>
fn partial_cmp( &self, other: &DeviceGroupPresentModeFlagsKHR ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DeviceGroupPresentModeFlagsKHR
impl Eq for DeviceGroupPresentModeFlagsKHR
impl StructuralPartialEq for DeviceGroupPresentModeFlagsKHR
Auto Trait Implementations§
impl RefUnwindSafe for DeviceGroupPresentModeFlagsKHR
impl Send for DeviceGroupPresentModeFlagsKHR
impl Sync for DeviceGroupPresentModeFlagsKHR
impl Unpin for DeviceGroupPresentModeFlagsKHR
impl UnwindSafe for DeviceGroupPresentModeFlagsKHR
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.