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