pub struct InstanceCreateFlags(/* private fields */);Implementations§
Source§impl InstanceCreateFlags
impl InstanceCreateFlags
Sourcepub const fn bits(&self) -> VkInstanceCreateFlags
pub const fn bits(&self) -> VkInstanceCreateFlags
Returns bits in this flags
Sourcepub const fn has_any(self, other: Self) -> bool
pub const fn has_any(self, other: Self) -> bool
Returns true if any of specified bits are contained in this flag.
Trait Implementations§
Source§impl BitAnd for InstanceCreateFlags
impl BitAnd for InstanceCreateFlags
Source§impl BitAndAssign for InstanceCreateFlags
impl BitAndAssign for InstanceCreateFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for InstanceCreateFlags
impl BitOr for InstanceCreateFlags
Source§impl BitOrAssign for InstanceCreateFlags
impl BitOrAssign for InstanceCreateFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for InstanceCreateFlags
impl Clone for InstanceCreateFlags
Source§fn clone(&self) -> InstanceCreateFlags
fn clone(&self) -> InstanceCreateFlags
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 InstanceCreateFlags
impl Debug for InstanceCreateFlags
Source§impl From<InstanceCreateFlags> for VkInstanceCreateFlags
impl From<InstanceCreateFlags> for VkInstanceCreateFlags
Source§fn from(value: InstanceCreateFlags) -> Self
fn from(value: InstanceCreateFlags) -> Self
Converts to this type from the input type.
Source§impl Not for InstanceCreateFlags
impl Not for InstanceCreateFlags
Source§impl PartialEq for InstanceCreateFlags
impl PartialEq for InstanceCreateFlags
impl Copy for InstanceCreateFlags
impl Eq for InstanceCreateFlags
impl StructuralPartialEq for InstanceCreateFlags
Auto Trait Implementations§
impl Freeze for InstanceCreateFlags
impl RefUnwindSafe for InstanceCreateFlags
impl Send for InstanceCreateFlags
impl Sync for InstanceCreateFlags
impl Unpin for InstanceCreateFlags
impl UnwindSafe for InstanceCreateFlags
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