pub struct DeviceCreateFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl BitAnd<DeviceCreateFlags> for DeviceCreateFlags
impl BitAnd<DeviceCreateFlags> for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
fn bitand(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitAndAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcefn bitand_assign(&mut self, rhs: DeviceCreateFlags)
fn bitand_assign(&mut self, rhs: DeviceCreateFlags)
Performs the
&= operation. Read moresourceimpl BitOr<DeviceCreateFlags> for DeviceCreateFlags
impl BitOr<DeviceCreateFlags> for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
fn bitor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitOrAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcefn bitor_assign(&mut self, rhs: DeviceCreateFlags)
fn bitor_assign(&mut self, rhs: DeviceCreateFlags)
Performs the
|= operation. Read moresourceimpl BitXor<DeviceCreateFlags> for DeviceCreateFlags
impl BitXor<DeviceCreateFlags> for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
fn bitxor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitXorAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcefn bitxor_assign(&mut self, rhs: DeviceCreateFlags)
fn bitxor_assign(&mut self, rhs: DeviceCreateFlags)
Performs the
^= operation. Read moresourceimpl Clone for DeviceCreateFlags
impl Clone for DeviceCreateFlags
sourcefn clone(&self) -> DeviceCreateFlags
fn clone(&self) -> DeviceCreateFlags
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 DeviceCreateFlags
impl Debug for DeviceCreateFlags
sourceimpl Default for DeviceCreateFlags
impl Default for DeviceCreateFlags
sourcefn default() -> DeviceCreateFlags
fn default() -> DeviceCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for DeviceCreateFlags
impl Hash for DeviceCreateFlags
sourceimpl Not for DeviceCreateFlags
impl Not for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the
! operator.sourcefn not(self) -> DeviceCreateFlags
fn not(self) -> DeviceCreateFlags
Performs the unary
! operation. Read moresourceimpl Ord for DeviceCreateFlags
impl Ord for DeviceCreateFlags
sourcefn cmp(&self, other: &DeviceCreateFlags) -> Ordering
fn cmp(&self, other: &DeviceCreateFlags) -> 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<DeviceCreateFlags> for DeviceCreateFlags
impl PartialEq<DeviceCreateFlags> for DeviceCreateFlags
sourcefn eq(&self, other: &DeviceCreateFlags) -> bool
fn eq(&self, other: &DeviceCreateFlags) -> bool
sourceimpl PartialOrd<DeviceCreateFlags> for DeviceCreateFlags
impl PartialOrd<DeviceCreateFlags> for DeviceCreateFlags
sourcefn partial_cmp(&self, other: &DeviceCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceCreateFlags) -> 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 DeviceCreateFlags
impl Eq for DeviceCreateFlags
impl StructuralEq 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
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