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