Struct ash::vk::StencilFaceFlags
source · #[repr(transparent)]pub struct StencilFaceFlags(_);
Implementations
sourceimpl StencilFaceFlags
impl StencilFaceFlags
pub fn empty() -> StencilFaceFlags
pub fn all() -> StencilFaceFlags
pub fn from_raw(x: Flags) -> Self
pub fn as_raw(self) -> Flags
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: StencilFaceFlags) -> bool
sourcepub fn contains(self, other: StencilFaceFlags) -> bool
pub fn contains(self, other: StencilFaceFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
sourceimpl BitAnd<StencilFaceFlags> for StencilFaceFlags
impl BitAnd<StencilFaceFlags> for StencilFaceFlags
type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitand(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<StencilFaceFlags> for StencilFaceFlags
impl BitAndAssign<StencilFaceFlags> for StencilFaceFlags
sourcefn bitand_assign(&mut self, rhs: StencilFaceFlags)
fn bitand_assign(&mut self, rhs: StencilFaceFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<StencilFaceFlags> for StencilFaceFlags
impl BitOr<StencilFaceFlags> for StencilFaceFlags
type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<StencilFaceFlags> for StencilFaceFlags
impl BitOrAssign<StencilFaceFlags> for StencilFaceFlags
sourcefn bitor_assign(&mut self, rhs: StencilFaceFlags)
fn bitor_assign(&mut self, rhs: StencilFaceFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<StencilFaceFlags> for StencilFaceFlags
impl BitXor<StencilFaceFlags> for StencilFaceFlags
type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitxor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<StencilFaceFlags> for StencilFaceFlags
impl BitXorAssign<StencilFaceFlags> for StencilFaceFlags
sourcefn bitxor_assign(&mut self, rhs: StencilFaceFlags)
fn bitxor_assign(&mut self, rhs: StencilFaceFlags)
Performs the
^=
operation. Read moresourceimpl Clone for StencilFaceFlags
impl Clone for StencilFaceFlags
sourcefn clone(&self) -> StencilFaceFlags
fn clone(&self) -> StencilFaceFlags
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 StencilFaceFlags
impl Debug for StencilFaceFlags
sourceimpl Default for StencilFaceFlags
impl Default for StencilFaceFlags
sourcefn default() -> StencilFaceFlags
fn default() -> StencilFaceFlags
Returns the “default value” for a type. Read more
sourceimpl Display for StencilFaceFlags
impl Display for StencilFaceFlags
sourceimpl Hash for StencilFaceFlags
impl Hash for StencilFaceFlags
sourceimpl Not for StencilFaceFlags
impl Not for StencilFaceFlags
type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> StencilFaceFlags
fn not(self) -> StencilFaceFlags
Performs the unary
!
operation. Read moresourceimpl Ord for StencilFaceFlags
impl Ord for StencilFaceFlags
sourcefn cmp(&self, other: &StencilFaceFlags) -> Ordering
fn cmp(&self, other: &StencilFaceFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<StencilFaceFlags> for StencilFaceFlags
impl PartialEq<StencilFaceFlags> for StencilFaceFlags
sourcefn eq(&self, other: &StencilFaceFlags) -> bool
fn eq(&self, other: &StencilFaceFlags) -> bool
sourceimpl PartialOrd<StencilFaceFlags> for StencilFaceFlags
impl PartialOrd<StencilFaceFlags> for StencilFaceFlags
sourcefn partial_cmp(&self, other: &StencilFaceFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &StencilFaceFlags) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Sub<StencilFaceFlags> for StencilFaceFlags
impl Sub<StencilFaceFlags> for StencilFaceFlags
type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn sub(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
-
operation. Read moresourceimpl SubAssign<StencilFaceFlags> for StencilFaceFlags
impl SubAssign<StencilFaceFlags> for StencilFaceFlags
sourcefn sub_assign(&mut self, rhs: StencilFaceFlags)
fn sub_assign(&mut self, rhs: StencilFaceFlags)
Performs the
-=
operation. Read moreimpl Copy for StencilFaceFlags
impl Eq for StencilFaceFlags
impl StructuralEq for StencilFaceFlags
impl StructuralPartialEq for StencilFaceFlags
Auto Trait Implementations
impl RefUnwindSafe for StencilFaceFlags
impl Send for StencilFaceFlags
impl Sync for StencilFaceFlags
impl Unpin for StencilFaceFlags
impl UnwindSafe for StencilFaceFlags
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