pub struct DisplayModeCreateFlagsKHR(_);Expand description
Implementations
sourceimpl DisplayModeCreateFlagsKHR
impl DisplayModeCreateFlagsKHR
pub const fn empty() -> DisplayModeCreateFlagsKHR
pub const fn from_raw(x: u32) -> DisplayModeCreateFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: DisplayModeCreateFlagsKHR) -> bool
sourcepub const fn contains(self, other: DisplayModeCreateFlagsKHR) -> bool
pub const fn contains(self, other: DisplayModeCreateFlagsKHR) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitAnd<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitand(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
& operation. Read moresourceimpl BitAndAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitAndAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
sourcefn bitand_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitand_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
&= operation. Read moresourceimpl BitOr<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitOr<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
| operation. Read moresourceimpl BitOrAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitOrAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
sourcefn bitor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
|= operation. Read moresourceimpl BitXor<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitXor<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitxor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
^ operation. Read moresourceimpl BitXorAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl BitXorAssign<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitxor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
^= operation. Read moresourceimpl Clone for DisplayModeCreateFlagsKHR
impl Clone for DisplayModeCreateFlagsKHR
sourcefn clone(&self) -> DisplayModeCreateFlagsKHR
fn clone(&self) -> DisplayModeCreateFlagsKHR
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DisplayModeCreateFlagsKHR
impl Debug for DisplayModeCreateFlagsKHR
sourceimpl Default for DisplayModeCreateFlagsKHR
impl Default for DisplayModeCreateFlagsKHR
sourcefn default() -> DisplayModeCreateFlagsKHR
fn default() -> DisplayModeCreateFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for DisplayModeCreateFlagsKHR
impl Hash for DisplayModeCreateFlagsKHR
sourceimpl Not for DisplayModeCreateFlagsKHR
impl Not for DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
! operator.sourcefn not(self) -> DisplayModeCreateFlagsKHR
fn not(self) -> DisplayModeCreateFlagsKHR
Performs the unary
! operation. Read moresourceimpl Ord for DisplayModeCreateFlagsKHR
impl Ord for DisplayModeCreateFlagsKHR
sourcefn cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Ordering
fn cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl PartialEq<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
sourcefn eq(&self, other: &DisplayModeCreateFlagsKHR) -> bool
fn eq(&self, other: &DisplayModeCreateFlagsKHR) -> bool
sourceimpl PartialOrd<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
impl PartialOrd<DisplayModeCreateFlagsKHR> for DisplayModeCreateFlagsKHR
sourcefn partial_cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 DisplayModeCreateFlagsKHR
impl Eq for DisplayModeCreateFlagsKHR
impl StructuralEq for DisplayModeCreateFlagsKHR
impl StructuralPartialEq for DisplayModeCreateFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for DisplayModeCreateFlagsKHR
impl Send for DisplayModeCreateFlagsKHR
impl Sync for DisplayModeCreateFlagsKHR
impl Unpin for DisplayModeCreateFlagsKHR
impl UnwindSafe for DisplayModeCreateFlagsKHR
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