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