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