#[repr(transparent)]pub struct VkMemoryPropertyFlags(pub i32);Expand description
VkMemoryPropertyFlags
Tuple Fields§
§0: i32Implementations§
Source§impl VkMemoryPropertyFlags
impl VkMemoryPropertyFlags
Sourcepub const fn has_any_flags(self, flags: Self) -> bool
pub const fn has_any_flags(self, flags: Self) -> bool
return is any bits in flags are set
Sourcepub const fn has_flags_only(self, flags: Self) -> bool
pub const fn has_flags_only(self, flags: Self) -> bool
return is only bits in flags are set
Trait Implementations§
Source§impl BitAnd for VkMemoryPropertyFlags
impl BitAnd for VkMemoryPropertyFlags
Source§impl BitAndAssign for VkMemoryPropertyFlags
impl BitAndAssign for VkMemoryPropertyFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for VkMemoryPropertyFlags
impl BitOr for VkMemoryPropertyFlags
Source§impl BitOrAssign for VkMemoryPropertyFlags
impl BitOrAssign for VkMemoryPropertyFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for VkMemoryPropertyFlags
impl BitXor for VkMemoryPropertyFlags
Source§impl BitXorAssign for VkMemoryPropertyFlags
impl BitXorAssign for VkMemoryPropertyFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for VkMemoryPropertyFlags
impl Clone for VkMemoryPropertyFlags
Source§fn clone(&self) -> VkMemoryPropertyFlags
fn clone(&self) -> VkMemoryPropertyFlags
Returns a duplicate 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 VkMemoryPropertyFlags
impl Debug for VkMemoryPropertyFlags
Source§impl Default for VkMemoryPropertyFlags
impl Default for VkMemoryPropertyFlags
Source§fn default() -> VkMemoryPropertyFlags
fn default() -> VkMemoryPropertyFlags
Returns the “default value” for a type. Read more
Source§impl Display for VkMemoryPropertyFlags
impl Display for VkMemoryPropertyFlags
Source§impl From<VkMemoryPropertyFlags> for i32
impl From<VkMemoryPropertyFlags> for i32
Source§fn from(value: VkMemoryPropertyFlags) -> Self
fn from(value: VkMemoryPropertyFlags) -> Self
Converts to this type from the input type.
Source§impl From<i32> for VkMemoryPropertyFlags
impl From<i32> for VkMemoryPropertyFlags
Source§impl Hash for VkMemoryPropertyFlags
impl Hash for VkMemoryPropertyFlags
Source§impl Not for VkMemoryPropertyFlags
impl Not for VkMemoryPropertyFlags
Source§impl Ord for VkMemoryPropertyFlags
impl Ord for VkMemoryPropertyFlags
Source§fn cmp(&self, other: &VkMemoryPropertyFlags) -> Ordering
fn cmp(&self, other: &VkMemoryPropertyFlags) -> 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 VkMemoryPropertyFlags
impl PartialEq for VkMemoryPropertyFlags
Source§impl PartialOrd for VkMemoryPropertyFlags
impl PartialOrd for VkMemoryPropertyFlags
impl Copy for VkMemoryPropertyFlags
impl Eq for VkMemoryPropertyFlags
impl StructuralPartialEq for VkMemoryPropertyFlags
Auto Trait Implementations§
impl Freeze for VkMemoryPropertyFlags
impl RefUnwindSafe for VkMemoryPropertyFlags
impl Send for VkMemoryPropertyFlags
impl Sync for VkMemoryPropertyFlags
impl Unpin for VkMemoryPropertyFlags
impl UnsafeUnpin for VkMemoryPropertyFlags
impl UnwindSafe for VkMemoryPropertyFlags
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