Struct screen_13::prelude::vk::AttachmentDescriptionFlags
source · pub struct AttachmentDescriptionFlags(/* private fields */);
Expand description
Implementations§
source§impl AttachmentDescriptionFlags
impl AttachmentDescriptionFlags
pub const fn empty() -> AttachmentDescriptionFlags
pub const fn from_raw(x: u32) -> AttachmentDescriptionFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: AttachmentDescriptionFlags) -> bool
sourcepub const fn contains(self, other: AttachmentDescriptionFlags) -> bool
pub const fn contains(self, other: AttachmentDescriptionFlags) -> bool
Returns whether other
is a subset of self
source§impl AttachmentDescriptionFlags
impl AttachmentDescriptionFlags
sourcepub const MAY_ALIAS: AttachmentDescriptionFlags = _
pub const MAY_ALIAS: AttachmentDescriptionFlags = _
The attachment may alias physical memory of another attachment in the same render pass
Trait Implementations§
source§impl BitAnd for AttachmentDescriptionFlags
impl BitAnd for AttachmentDescriptionFlags
§type Output = AttachmentDescriptionFlags
type Output = AttachmentDescriptionFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
fn bitand(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for AttachmentDescriptionFlags
impl BitAndAssign for AttachmentDescriptionFlags
source§fn bitand_assign(&mut self, rhs: AttachmentDescriptionFlags)
fn bitand_assign(&mut self, rhs: AttachmentDescriptionFlags)
Performs the
&=
operation. Read moresource§impl BitOr for AttachmentDescriptionFlags
impl BitOr for AttachmentDescriptionFlags
§type Output = AttachmentDescriptionFlags
type Output = AttachmentDescriptionFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
fn bitor(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for AttachmentDescriptionFlags
impl BitOrAssign for AttachmentDescriptionFlags
source§fn bitor_assign(&mut self, rhs: AttachmentDescriptionFlags)
fn bitor_assign(&mut self, rhs: AttachmentDescriptionFlags)
Performs the
|=
operation. Read moresource§impl BitXor for AttachmentDescriptionFlags
impl BitXor for AttachmentDescriptionFlags
§type Output = AttachmentDescriptionFlags
type Output = AttachmentDescriptionFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
fn bitxor(self, rhs: AttachmentDescriptionFlags) -> AttachmentDescriptionFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for AttachmentDescriptionFlags
impl BitXorAssign for AttachmentDescriptionFlags
source§fn bitxor_assign(&mut self, rhs: AttachmentDescriptionFlags)
fn bitxor_assign(&mut self, rhs: AttachmentDescriptionFlags)
Performs the
^=
operation. Read moresource§impl Clone for AttachmentDescriptionFlags
impl Clone for AttachmentDescriptionFlags
source§fn clone(&self) -> AttachmentDescriptionFlags
fn clone(&self) -> AttachmentDescriptionFlags
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 AttachmentDescriptionFlags
impl Debug for AttachmentDescriptionFlags
source§impl Default for AttachmentDescriptionFlags
impl Default for AttachmentDescriptionFlags
source§fn default() -> AttachmentDescriptionFlags
fn default() -> AttachmentDescriptionFlags
Returns the “default value” for a type. Read more
source§impl Hash for AttachmentDescriptionFlags
impl Hash for AttachmentDescriptionFlags
source§impl Not for AttachmentDescriptionFlags
impl Not for AttachmentDescriptionFlags
§type Output = AttachmentDescriptionFlags
type Output = AttachmentDescriptionFlags
The resulting type after applying the
!
operator.source§fn not(self) -> AttachmentDescriptionFlags
fn not(self) -> AttachmentDescriptionFlags
Performs the unary
!
operation. Read moresource§impl Ord for AttachmentDescriptionFlags
impl Ord for AttachmentDescriptionFlags
source§fn cmp(&self, other: &AttachmentDescriptionFlags) -> Ordering
fn cmp(&self, other: &AttachmentDescriptionFlags) -> 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 AttachmentDescriptionFlags
impl PartialEq for AttachmentDescriptionFlags
source§fn eq(&self, other: &AttachmentDescriptionFlags) -> bool
fn eq(&self, other: &AttachmentDescriptionFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AttachmentDescriptionFlags
impl PartialOrd for AttachmentDescriptionFlags
source§fn partial_cmp(&self, other: &AttachmentDescriptionFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &AttachmentDescriptionFlags) -> 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 AttachmentDescriptionFlags
impl Eq for AttachmentDescriptionFlags
impl StructuralPartialEq for AttachmentDescriptionFlags
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentDescriptionFlags
impl Send for AttachmentDescriptionFlags
impl Sync for AttachmentDescriptionFlags
impl Unpin for AttachmentDescriptionFlags
impl UnwindSafe for AttachmentDescriptionFlags
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.