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