Struct vulkano::sync::FenceImportFlags
source · [−]pub struct FenceImportFlags {
pub temporary: bool,
pub _ne: NonExhaustive,
}
Expand description
Additional parameters for a fence payload import.
Fields
temporary: bool
The fence payload will be imported only temporarily, regardless of the permanence of the imported handle type.
_ne: NonExhaustive
Implementations
sourceimpl FenceImportFlags
impl FenceImportFlags
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: Use empty
instead.
pub const fn none() -> Self
Use empty
instead.
Returns 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 set in self
or other
, but not both.
Trait Implementations
sourceimpl BitAnd<FenceImportFlags> for FenceImportFlags
impl BitAnd<FenceImportFlags> for FenceImportFlags
type Output = FenceImportFlags
type Output = FenceImportFlags
The resulting type after applying the
&
operator.sourceimpl BitAndAssign<FenceImportFlags> for FenceImportFlags
impl BitAndAssign<FenceImportFlags> for FenceImportFlags
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresourceimpl BitOr<FenceImportFlags> for FenceImportFlags
impl BitOr<FenceImportFlags> for FenceImportFlags
type Output = FenceImportFlags
type Output = FenceImportFlags
The resulting type after applying the
|
operator.sourceimpl BitOrAssign<FenceImportFlags> for FenceImportFlags
impl BitOrAssign<FenceImportFlags> for FenceImportFlags
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresourceimpl BitXor<FenceImportFlags> for FenceImportFlags
impl BitXor<FenceImportFlags> for FenceImportFlags
type Output = FenceImportFlags
type Output = FenceImportFlags
The resulting type after applying the
^
operator.sourceimpl BitXorAssign<FenceImportFlags> for FenceImportFlags
impl BitXorAssign<FenceImportFlags> for FenceImportFlags
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresourceimpl Clone for FenceImportFlags
impl Clone for FenceImportFlags
sourcefn clone(&self) -> FenceImportFlags
fn clone(&self) -> FenceImportFlags
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 moresourceimpl Debug for FenceImportFlags
impl Debug for FenceImportFlags
sourceimpl Default for FenceImportFlags
impl Default for FenceImportFlags
sourceimpl From<FenceImportFlags> for FenceImportFlags
impl From<FenceImportFlags> for FenceImportFlags
sourcefn from(val: FenceImportFlags) -> Self
fn from(val: FenceImportFlags) -> Self
Converts to this type from the input type.
sourceimpl From<FenceImportFlags> for FenceImportFlags
impl From<FenceImportFlags> for FenceImportFlags
sourcefn from(val: FenceImportFlags) -> Self
fn from(val: FenceImportFlags) -> Self
Converts to this type from the input type.
sourceimpl Hash for FenceImportFlags
impl Hash for FenceImportFlags
sourceimpl PartialEq<FenceImportFlags> for FenceImportFlags
impl PartialEq<FenceImportFlags> for FenceImportFlags
sourcefn eq(&self, other: &FenceImportFlags) -> bool
fn eq(&self, other: &FenceImportFlags) -> bool
sourceimpl Sub<FenceImportFlags> for FenceImportFlags
impl Sub<FenceImportFlags> for FenceImportFlags
type Output = FenceImportFlags
type Output = FenceImportFlags
The resulting type after applying the
-
operator.sourceimpl SubAssign<FenceImportFlags> for FenceImportFlags
impl SubAssign<FenceImportFlags> for FenceImportFlags
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more