Struct openxr_sys::SwapchainCreateFlags
source · pub struct SwapchainCreateFlags(/* private fields */);
Expand description
Implementations§
source§impl SwapchainCreateFlags
impl SwapchainCreateFlags
sourcepub const PROTECTED_CONTENT: SwapchainCreateFlags = _
pub const PROTECTED_CONTENT: SwapchainCreateFlags = _
Content will be protected from CPU access
sourcepub const STATIC_IMAGE: SwapchainCreateFlags = _
pub const STATIC_IMAGE: SwapchainCreateFlags = _
Only one image will be acquired from this swapchain over its lifetime
source§impl SwapchainCreateFlags
impl SwapchainCreateFlags
pub const EMPTY: Self = _
pub fn from_raw(x: u64) -> Self
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SwapchainCreateFlags) -> bool
sourcepub fn contains(self, other: SwapchainCreateFlags) -> bool
pub fn contains(self, other: SwapchainCreateFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations§
source§impl BitAnd for SwapchainCreateFlags
impl BitAnd for SwapchainCreateFlags
§type Output = SwapchainCreateFlags
type Output = SwapchainCreateFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
fn bitand(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SwapchainCreateFlags
impl BitAndAssign for SwapchainCreateFlags
source§fn bitand_assign(&mut self, rhs: SwapchainCreateFlags)
fn bitand_assign(&mut self, rhs: SwapchainCreateFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SwapchainCreateFlags
impl BitOr for SwapchainCreateFlags
§type Output = SwapchainCreateFlags
type Output = SwapchainCreateFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
fn bitor(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SwapchainCreateFlags
impl BitOrAssign for SwapchainCreateFlags
source§fn bitor_assign(&mut self, rhs: SwapchainCreateFlags)
fn bitor_assign(&mut self, rhs: SwapchainCreateFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SwapchainCreateFlags
impl BitXor for SwapchainCreateFlags
§type Output = SwapchainCreateFlags
type Output = SwapchainCreateFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
fn bitxor(self, rhs: SwapchainCreateFlags) -> SwapchainCreateFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SwapchainCreateFlags
impl BitXorAssign for SwapchainCreateFlags
source§fn bitxor_assign(&mut self, rhs: SwapchainCreateFlags)
fn bitxor_assign(&mut self, rhs: SwapchainCreateFlags)
Performs the
^=
operation. Read moresource§impl Clone for SwapchainCreateFlags
impl Clone for SwapchainCreateFlags
source§fn clone(&self) -> SwapchainCreateFlags
fn clone(&self) -> SwapchainCreateFlags
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 SwapchainCreateFlags
impl Debug for SwapchainCreateFlags
source§impl Default for SwapchainCreateFlags
impl Default for SwapchainCreateFlags
source§impl Not for SwapchainCreateFlags
impl Not for SwapchainCreateFlags
§type Output = SwapchainCreateFlags
type Output = SwapchainCreateFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SwapchainCreateFlags
fn not(self) -> SwapchainCreateFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for SwapchainCreateFlags
impl PartialEq for SwapchainCreateFlags
source§fn eq(&self, other: &SwapchainCreateFlags) -> bool
fn eq(&self, other: &SwapchainCreateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SwapchainCreateFlags
impl Eq for SwapchainCreateFlags
impl StructuralPartialEq for SwapchainCreateFlags
Auto Trait Implementations§
impl RefUnwindSafe for SwapchainCreateFlags
impl Send for SwapchainCreateFlags
impl Sync for SwapchainCreateFlags
impl Unpin for SwapchainCreateFlags
impl UnwindSafe for SwapchainCreateFlags
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