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