Struct ash::vk::MirSurfaceCreateFlagsKHR
source · #[repr(transparent)]pub struct MirSurfaceCreateFlagsKHR(_);
Implementations
sourceimpl MirSurfaceCreateFlagsKHR
impl MirSurfaceCreateFlagsKHR
pub fn empty() -> MirSurfaceCreateFlagsKHR
pub fn all() -> MirSurfaceCreateFlagsKHR
pub fn from_raw(x: Flags) -> Self
pub fn as_raw(self) -> Flags
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: MirSurfaceCreateFlagsKHR) -> bool
sourcepub fn contains(self, other: MirSurfaceCreateFlagsKHR) -> bool
pub fn contains(self, other: MirSurfaceCreateFlagsKHR) -> bool
Returns whether other
is a subset of self
Trait Implementations
sourceimpl BitAnd<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitAnd<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
fn bitand(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
Performs the
&
operation. Read moresourceimpl BitAndAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitAndAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn bitand_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
fn bitand_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
Performs the
&=
operation. Read moresourceimpl BitOr<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitOr<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
fn bitor(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
Performs the
|
operation. Read moresourceimpl BitOrAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitOrAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn bitor_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
fn bitor_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
Performs the
|=
operation. Read moresourceimpl BitXor<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitXor<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
fn bitxor(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
Performs the
^
operation. Read moresourceimpl BitXorAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl BitXorAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
fn bitxor_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
Performs the
^=
operation. Read moresourceimpl Clone for MirSurfaceCreateFlagsKHR
impl Clone for MirSurfaceCreateFlagsKHR
sourcefn clone(&self) -> MirSurfaceCreateFlagsKHR
fn clone(&self) -> MirSurfaceCreateFlagsKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MirSurfaceCreateFlagsKHR
impl Debug for MirSurfaceCreateFlagsKHR
sourceimpl Default for MirSurfaceCreateFlagsKHR
impl Default for MirSurfaceCreateFlagsKHR
sourcefn default() -> MirSurfaceCreateFlagsKHR
fn default() -> MirSurfaceCreateFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for MirSurfaceCreateFlagsKHR
impl Hash for MirSurfaceCreateFlagsKHR
sourceimpl Not for MirSurfaceCreateFlagsKHR
impl Not for MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
The resulting type after applying the
!
operator.sourcefn not(self) -> MirSurfaceCreateFlagsKHR
fn not(self) -> MirSurfaceCreateFlagsKHR
Performs the unary
!
operation. Read moresourceimpl Ord for MirSurfaceCreateFlagsKHR
impl Ord for MirSurfaceCreateFlagsKHR
sourcefn cmp(&self, other: &MirSurfaceCreateFlagsKHR) -> Ordering
fn cmp(&self, other: &MirSurfaceCreateFlagsKHR) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl PartialEq<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn eq(&self, other: &MirSurfaceCreateFlagsKHR) -> bool
fn eq(&self, other: &MirSurfaceCreateFlagsKHR) -> bool
sourceimpl PartialOrd<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl PartialOrd<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn partial_cmp(&self, other: &MirSurfaceCreateFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &MirSurfaceCreateFlagsKHR) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Sub<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl Sub<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
type Output = MirSurfaceCreateFlagsKHR
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
fn sub(self, rhs: MirSurfaceCreateFlagsKHR) -> MirSurfaceCreateFlagsKHR
Performs the
-
operation. Read moresourceimpl SubAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
impl SubAssign<MirSurfaceCreateFlagsKHR> for MirSurfaceCreateFlagsKHR
sourcefn sub_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
fn sub_assign(&mut self, rhs: MirSurfaceCreateFlagsKHR)
Performs the
-=
operation. Read moreimpl Copy for MirSurfaceCreateFlagsKHR
impl Eq for MirSurfaceCreateFlagsKHR
impl StructuralEq for MirSurfaceCreateFlagsKHR
impl StructuralPartialEq for MirSurfaceCreateFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for MirSurfaceCreateFlagsKHR
impl Send for MirSurfaceCreateFlagsKHR
impl Sync for MirSurfaceCreateFlagsKHR
impl Unpin for MirSurfaceCreateFlagsKHR
impl UnwindSafe for MirSurfaceCreateFlagsKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more