#[repr(transparent)]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.
sourcepub fn bitand(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
pub fn bitand(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitAndAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcepub fn bitand_assign(&mut self, rhs: DeviceCreateFlags)
pub fn bitand_assign(&mut self, rhs: DeviceCreateFlags)
Performs the &= operation. Read more
sourceimpl BitOr<DeviceCreateFlags> for DeviceCreateFlags
impl BitOr<DeviceCreateFlags> for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the | operator.
sourcepub fn bitor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
pub fn bitor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitOrAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcepub fn bitor_assign(&mut self, rhs: DeviceCreateFlags)
pub fn bitor_assign(&mut self, rhs: DeviceCreateFlags)
Performs the |= operation. Read more
sourceimpl BitXor<DeviceCreateFlags> for DeviceCreateFlags
impl BitXor<DeviceCreateFlags> for DeviceCreateFlags
type Output = DeviceCreateFlags
type Output = DeviceCreateFlags
The resulting type after applying the ^ operator.
sourcepub fn bitxor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
pub fn bitxor(self, rhs: DeviceCreateFlags) -> DeviceCreateFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<DeviceCreateFlags> for DeviceCreateFlags
impl BitXorAssign<DeviceCreateFlags> for DeviceCreateFlags
sourcepub fn bitxor_assign(&mut self, rhs: DeviceCreateFlags)
pub fn bitxor_assign(&mut self, rhs: DeviceCreateFlags)
Performs the ^= operation. Read more
sourceimpl Clone for DeviceCreateFlags
impl Clone for DeviceCreateFlags
sourcepub fn clone(&self) -> DeviceCreateFlags
pub fn clone(&self) -> DeviceCreateFlags
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 more
sourceimpl Debug for DeviceCreateFlags
impl Debug for DeviceCreateFlags
sourceimpl Default for DeviceCreateFlags
impl Default for DeviceCreateFlags
sourcepub fn default() -> DeviceCreateFlags
pub 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.
sourcepub fn not(self) -> DeviceCreateFlags
pub fn not(self) -> DeviceCreateFlags
Performs the unary ! operation. Read more
sourceimpl Ord for DeviceCreateFlags
impl Ord for DeviceCreateFlags
sourceimpl PartialEq<DeviceCreateFlags> for DeviceCreateFlags
impl PartialEq<DeviceCreateFlags> for DeviceCreateFlags
sourcepub fn eq(&self, other: &DeviceCreateFlags) -> bool
pub fn eq(&self, other: &DeviceCreateFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &DeviceCreateFlags) -> bool
pub fn ne(&self, other: &DeviceCreateFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<DeviceCreateFlags> for DeviceCreateFlags
impl PartialOrd<DeviceCreateFlags> for DeviceCreateFlags
sourcepub fn partial_cmp(&self, other: &DeviceCreateFlags) -> Option<Ordering>
pub fn partial_cmp(&self, other: &DeviceCreateFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more