Struct screen_13::prelude::vk::DisplayModeCreateFlagsKHR
source · pub struct DisplayModeCreateFlagsKHR(/* private fields */);
Expand description
Implementations§
source§impl 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§
source§impl BitAnd for DisplayModeCreateFlagsKHR
impl BitAnd for DisplayModeCreateFlagsKHR
§type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitand(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
&
operation. Read moresource§impl BitAndAssign for DisplayModeCreateFlagsKHR
impl BitAndAssign for DisplayModeCreateFlagsKHR
source§fn bitand_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitand_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
&=
operation. Read moresource§impl BitOr for DisplayModeCreateFlagsKHR
impl BitOr for DisplayModeCreateFlagsKHR
§type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
|
operation. Read moresource§impl BitOrAssign for DisplayModeCreateFlagsKHR
impl BitOrAssign for DisplayModeCreateFlagsKHR
source§fn bitor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
|=
operation. Read moresource§impl BitXor for DisplayModeCreateFlagsKHR
impl BitXor for DisplayModeCreateFlagsKHR
§type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
fn bitxor(self, rhs: DisplayModeCreateFlagsKHR) -> DisplayModeCreateFlagsKHR
Performs the
^
operation. Read moresource§impl BitXorAssign for DisplayModeCreateFlagsKHR
impl BitXorAssign for DisplayModeCreateFlagsKHR
source§fn bitxor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
fn bitxor_assign(&mut self, rhs: DisplayModeCreateFlagsKHR)
Performs the
^=
operation. Read moresource§impl Clone for DisplayModeCreateFlagsKHR
impl Clone for DisplayModeCreateFlagsKHR
source§fn clone(&self) -> DisplayModeCreateFlagsKHR
fn clone(&self) -> DisplayModeCreateFlagsKHR
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 DisplayModeCreateFlagsKHR
impl Debug for DisplayModeCreateFlagsKHR
source§impl Default for DisplayModeCreateFlagsKHR
impl Default for DisplayModeCreateFlagsKHR
source§fn default() -> DisplayModeCreateFlagsKHR
fn default() -> DisplayModeCreateFlagsKHR
Returns the “default value” for a type. Read more
source§impl Hash for DisplayModeCreateFlagsKHR
impl Hash for DisplayModeCreateFlagsKHR
source§impl Not for DisplayModeCreateFlagsKHR
impl Not for DisplayModeCreateFlagsKHR
§type Output = DisplayModeCreateFlagsKHR
type Output = DisplayModeCreateFlagsKHR
The resulting type after applying the
!
operator.source§fn not(self) -> DisplayModeCreateFlagsKHR
fn not(self) -> DisplayModeCreateFlagsKHR
Performs the unary
!
operation. Read moresource§impl Ord for DisplayModeCreateFlagsKHR
impl Ord for DisplayModeCreateFlagsKHR
source§fn cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Ordering
fn cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq for DisplayModeCreateFlagsKHR
impl PartialEq for DisplayModeCreateFlagsKHR
source§fn eq(&self, other: &DisplayModeCreateFlagsKHR) -> bool
fn eq(&self, other: &DisplayModeCreateFlagsKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DisplayModeCreateFlagsKHR
impl PartialOrd for DisplayModeCreateFlagsKHR
source§fn partial_cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayModeCreateFlagsKHR) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for DisplayModeCreateFlagsKHR
impl Eq for DisplayModeCreateFlagsKHR
impl StructuralPartialEq for DisplayModeCreateFlagsKHR
Auto Trait Implementations§
impl Freeze for DisplayModeCreateFlagsKHR
impl RefUnwindSafe for DisplayModeCreateFlagsKHR
impl Send for DisplayModeCreateFlagsKHR
impl Sync for DisplayModeCreateFlagsKHR
impl Unpin for DisplayModeCreateFlagsKHR
impl UnwindSafe for DisplayModeCreateFlagsKHR
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: 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
)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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.