Struct screen_13::prelude::vk::SparseImageFormatFlags
source · pub struct SparseImageFormatFlags(/* private fields */);
Expand description
Implementations§
source§impl SparseImageFormatFlags
impl SparseImageFormatFlags
pub const fn empty() -> SparseImageFormatFlags
pub const fn from_raw(x: u32) -> SparseImageFormatFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SparseImageFormatFlags) -> bool
sourcepub const fn contains(self, other: SparseImageFormatFlags) -> bool
pub const fn contains(self, other: SparseImageFormatFlags) -> bool
Returns whether other
is a subset of self
source§impl SparseImageFormatFlags
impl SparseImageFormatFlags
sourcepub const SINGLE_MIPTAIL: SparseImageFormatFlags = _
pub const SINGLE_MIPTAIL: SparseImageFormatFlags = _
Image uses a single mip tail region for all array layers
sourcepub const ALIGNED_MIP_SIZE: SparseImageFormatFlags = _
pub const ALIGNED_MIP_SIZE: SparseImageFormatFlags = _
Image requires mip level dimensions to be an integer multiple of the sparse image block dimensions for non-tail mip levels.
sourcepub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlags = _
pub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlags = _
Image uses a non-standard sparse image block dimensions
Trait Implementations§
source§impl BitAnd for SparseImageFormatFlags
impl BitAnd for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SparseImageFormatFlags
impl BitAndAssign for SparseImageFormatFlags
source§fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SparseImageFormatFlags
impl BitOr for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SparseImageFormatFlags
impl BitOrAssign for SparseImageFormatFlags
source§fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SparseImageFormatFlags
impl BitXor for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SparseImageFormatFlags
impl BitXorAssign for SparseImageFormatFlags
source§fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
^=
operation. Read moresource§impl Clone for SparseImageFormatFlags
impl Clone for SparseImageFormatFlags
source§fn clone(&self) -> SparseImageFormatFlags
fn clone(&self) -> SparseImageFormatFlags
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 SparseImageFormatFlags
impl Debug for SparseImageFormatFlags
source§impl Default for SparseImageFormatFlags
impl Default for SparseImageFormatFlags
source§fn default() -> SparseImageFormatFlags
fn default() -> SparseImageFormatFlags
Returns the “default value” for a type. Read more
source§impl Hash for SparseImageFormatFlags
impl Hash for SparseImageFormatFlags
source§impl Not for SparseImageFormatFlags
impl Not for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SparseImageFormatFlags
fn not(self) -> SparseImageFormatFlags
Performs the unary
!
operation. Read moresource§impl Ord for SparseImageFormatFlags
impl Ord for SparseImageFormatFlags
source§fn cmp(&self, other: &SparseImageFormatFlags) -> Ordering
fn cmp(&self, other: &SparseImageFormatFlags) -> 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 SparseImageFormatFlags
impl PartialEq for SparseImageFormatFlags
source§fn eq(&self, other: &SparseImageFormatFlags) -> bool
fn eq(&self, other: &SparseImageFormatFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SparseImageFormatFlags
impl PartialOrd for SparseImageFormatFlags
source§fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SparseImageFormatFlags) -> 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 SparseImageFormatFlags
impl Eq for SparseImageFormatFlags
impl StructuralPartialEq for SparseImageFormatFlags
Auto Trait Implementations§
impl RefUnwindSafe for SparseImageFormatFlags
impl Send for SparseImageFormatFlags
impl Sync for SparseImageFormatFlags
impl Unpin for SparseImageFormatFlags
impl UnwindSafe for SparseImageFormatFlags
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.