Struct vulkano::sync::fence::FenceImportFlags
source · pub struct FenceImportFlags(/* private fields */);
Expand description
Additional parameters for a fence payload import.
Implementations§
source§impl FenceImportFlags
impl FenceImportFlags
sourcepub const TEMPORARY: Self = _
pub const TEMPORARY: Self = _
The fence payload will be imported only temporarily, regardless of the permanence of the imported handle type.
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a FenceImportFlags
with none of the flags set.
sourcepub const fn intersects(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
Returns whether any flags are set in both self
and other
.
sourcepub const fn contains(self, other: Self) -> bool
pub const fn contains(self, other: Self) -> bool
Returns whether all flags in other
are set in self
.
sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
Returns the intersection of self
and other
.
sourcepub const fn difference(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
Returns self
without the flags set in other
.
sourcepub const fn symmetric_difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
Returns the flags that are set in self
or other
, but not in both.
Trait Implementations§
source§impl BitAnd for FenceImportFlags
impl BitAnd for FenceImportFlags
source§impl BitAndAssign for FenceImportFlags
impl BitAndAssign for FenceImportFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for FenceImportFlags
impl BitOr for FenceImportFlags
source§impl BitOrAssign for FenceImportFlags
impl BitOrAssign for FenceImportFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for FenceImportFlags
impl BitXor for FenceImportFlags
source§impl BitXorAssign for FenceImportFlags
impl BitXorAssign for FenceImportFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for FenceImportFlags
impl Clone for FenceImportFlags
source§fn clone(&self) -> FenceImportFlags
fn clone(&self) -> FenceImportFlags
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 FenceImportFlags
impl Debug for FenceImportFlags
source§impl Default for FenceImportFlags
impl Default for FenceImportFlags
source§impl From<FenceImportFlags> for FenceImportFlags
impl From<FenceImportFlags> for FenceImportFlags
source§fn from(val: FenceImportFlags) -> Self
fn from(val: FenceImportFlags) -> Self
Converts to this type from the input type.
source§impl From<FenceImportFlags> for FenceImportFlags
impl From<FenceImportFlags> for FenceImportFlags
source§fn from(val: FenceImportFlags) -> Self
fn from(val: FenceImportFlags) -> Self
Converts to this type from the input type.
source§impl Hash for FenceImportFlags
impl Hash for FenceImportFlags
source§impl PartialEq for FenceImportFlags
impl PartialEq for FenceImportFlags
source§fn eq(&self, other: &FenceImportFlags) -> bool
fn eq(&self, other: &FenceImportFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for FenceImportFlags
impl Sub for FenceImportFlags
source§impl SubAssign for FenceImportFlags
impl SubAssign for FenceImportFlags
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for FenceImportFlags
impl Eq for FenceImportFlags
impl StructuralEq for FenceImportFlags
impl StructuralPartialEq for FenceImportFlags
Auto Trait Implementations§
impl RefUnwindSafe for FenceImportFlags
impl Send for FenceImportFlags
impl Sync for FenceImportFlags
impl Unpin for FenceImportFlags
impl UnwindSafe for FenceImportFlags
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