Struct screen_13::prelude::vk::ResolveModeFlags
source · pub struct ResolveModeFlags(/* private fields */);
Expand description
Implementations§
source§impl ResolveModeFlags
impl ResolveModeFlags
pub const fn empty() -> ResolveModeFlags
pub const fn from_raw(x: u32) -> ResolveModeFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ResolveModeFlags) -> bool
sourcepub const fn contains(self, other: ResolveModeFlags) -> bool
pub const fn contains(self, other: ResolveModeFlags) -> bool
Returns whether other
is a subset of self
source§impl ResolveModeFlags
impl ResolveModeFlags
pub const NONE: ResolveModeFlags = _
pub const SAMPLE_ZERO: ResolveModeFlags = _
pub const AVERAGE: ResolveModeFlags = _
pub const MIN: ResolveModeFlags = _
pub const MAX: ResolveModeFlags = _
source§impl ResolveModeFlags
impl ResolveModeFlags
Generated from ‘VK_KHR_depth_stencil_resolve’
pub const NONE_KHR: ResolveModeFlags = Self::NONE
pub const SAMPLE_ZERO_KHR: ResolveModeFlags = Self::SAMPLE_ZERO
pub const AVERAGE_KHR: ResolveModeFlags = Self::AVERAGE
pub const MIN_KHR: ResolveModeFlags = Self::MIN
pub const MAX_KHR: ResolveModeFlags = Self::MAX
source§impl ResolveModeFlags
impl ResolveModeFlags
Generated from ‘VK_ANDROID_extension_469’
pub const EXTENSION_469_FLAG_0: ResolveModeFlags = _
Trait Implementations§
source§impl BitAnd for ResolveModeFlags
impl BitAnd for ResolveModeFlags
§type Output = ResolveModeFlags
type Output = ResolveModeFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: ResolveModeFlags) -> ResolveModeFlags
fn bitand(self, rhs: ResolveModeFlags) -> ResolveModeFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for ResolveModeFlags
impl BitAndAssign for ResolveModeFlags
source§fn bitand_assign(&mut self, rhs: ResolveModeFlags)
fn bitand_assign(&mut self, rhs: ResolveModeFlags)
Performs the
&=
operation. Read moresource§impl BitOr for ResolveModeFlags
impl BitOr for ResolveModeFlags
§type Output = ResolveModeFlags
type Output = ResolveModeFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: ResolveModeFlags) -> ResolveModeFlags
fn bitor(self, rhs: ResolveModeFlags) -> ResolveModeFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for ResolveModeFlags
impl BitOrAssign for ResolveModeFlags
source§fn bitor_assign(&mut self, rhs: ResolveModeFlags)
fn bitor_assign(&mut self, rhs: ResolveModeFlags)
Performs the
|=
operation. Read moresource§impl BitXor for ResolveModeFlags
impl BitXor for ResolveModeFlags
§type Output = ResolveModeFlags
type Output = ResolveModeFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: ResolveModeFlags) -> ResolveModeFlags
fn bitxor(self, rhs: ResolveModeFlags) -> ResolveModeFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for ResolveModeFlags
impl BitXorAssign for ResolveModeFlags
source§fn bitxor_assign(&mut self, rhs: ResolveModeFlags)
fn bitxor_assign(&mut self, rhs: ResolveModeFlags)
Performs the
^=
operation. Read moresource§impl Clone for ResolveModeFlags
impl Clone for ResolveModeFlags
source§fn clone(&self) -> ResolveModeFlags
fn clone(&self) -> ResolveModeFlags
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 Debug for ResolveModeFlags
impl Debug for ResolveModeFlags
source§impl Default for ResolveModeFlags
impl Default for ResolveModeFlags
source§fn default() -> ResolveModeFlags
fn default() -> ResolveModeFlags
Returns the “default value” for a type. Read more
source§impl Hash for ResolveModeFlags
impl Hash for ResolveModeFlags
source§impl Not for ResolveModeFlags
impl Not for ResolveModeFlags
§type Output = ResolveModeFlags
type Output = ResolveModeFlags
The resulting type after applying the
!
operator.source§fn not(self) -> ResolveModeFlags
fn not(self) -> ResolveModeFlags
Performs the unary
!
operation. Read moresource§impl Ord for ResolveModeFlags
impl Ord for ResolveModeFlags
source§fn cmp(&self, other: &ResolveModeFlags) -> Ordering
fn cmp(&self, other: &ResolveModeFlags) -> 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 ResolveModeFlags
impl PartialEq for ResolveModeFlags
source§fn eq(&self, other: &ResolveModeFlags) -> bool
fn eq(&self, other: &ResolveModeFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ResolveModeFlags
impl PartialOrd for ResolveModeFlags
source§fn partial_cmp(&self, other: &ResolveModeFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ResolveModeFlags) -> 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 ResolveModeFlags
impl Eq for ResolveModeFlags
impl StructuralPartialEq for ResolveModeFlags
Auto Trait Implementations§
impl Freeze for ResolveModeFlags
impl RefUnwindSafe for ResolveModeFlags
impl Send for ResolveModeFlags
impl Sync for ResolveModeFlags
impl Unpin for ResolveModeFlags
impl UnwindSafe for ResolveModeFlags
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§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
.source§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
.source§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.source§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.