Struct pilka_lib::ash::vk::CullModeFlags [−]
#[repr(transparent)]pub struct CullModeFlags(_);
Expand description
Implementations
impl CullModeFlags
impl CullModeFlags
pub const NONE: CullModeFlags
pub const FRONT: CullModeFlags
pub const BACK: CullModeFlags
pub const FRONT_AND_BACK: CullModeFlags
impl CullModeFlags
impl CullModeFlags
pub const fn empty() -> CullModeFlags
pub const fn all() -> CullModeFlags
pub const fn from_raw(x: u32) -> CullModeFlags
pub fn intersects(self, other: CullModeFlags) -> bool
pub fn contains(self, other: CullModeFlags) -> bool
pub fn contains(self, other: CullModeFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
impl BitAnd<CullModeFlags> for CullModeFlags
impl BitAnd<CullModeFlags> for CullModeFlags
type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: CullModeFlags) -> CullModeFlags
pub fn bitand(self, rhs: CullModeFlags) -> CullModeFlags
Performs the &
operation. Read more
impl BitAndAssign<CullModeFlags> for CullModeFlags
impl BitAndAssign<CullModeFlags> for CullModeFlags
pub fn bitand_assign(&mut self, rhs: CullModeFlags)
pub fn bitand_assign(&mut self, rhs: CullModeFlags)
Performs the &=
operation. Read more
impl BitOr<CullModeFlags> for CullModeFlags
impl BitOr<CullModeFlags> for CullModeFlags
type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the |
operator.
pub fn bitor(self, rhs: CullModeFlags) -> CullModeFlags
pub fn bitor(self, rhs: CullModeFlags) -> CullModeFlags
Performs the |
operation. Read more
impl BitOrAssign<CullModeFlags> for CullModeFlags
impl BitOrAssign<CullModeFlags> for CullModeFlags
pub fn bitor_assign(&mut self, rhs: CullModeFlags)
pub fn bitor_assign(&mut self, rhs: CullModeFlags)
Performs the |=
operation. Read more
impl BitXor<CullModeFlags> for CullModeFlags
impl BitXor<CullModeFlags> for CullModeFlags
type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the ^
operator.
pub fn bitxor(self, rhs: CullModeFlags) -> CullModeFlags
pub fn bitxor(self, rhs: CullModeFlags) -> CullModeFlags
Performs the ^
operation. Read more
impl BitXorAssign<CullModeFlags> for CullModeFlags
impl BitXorAssign<CullModeFlags> for CullModeFlags
pub fn bitxor_assign(&mut self, rhs: CullModeFlags)
pub fn bitxor_assign(&mut self, rhs: CullModeFlags)
Performs the ^=
operation. Read more
impl Clone for CullModeFlags
impl Clone for CullModeFlags
pub fn clone(&self) -> CullModeFlags
pub fn clone(&self) -> CullModeFlags
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for CullModeFlags
impl Debug for CullModeFlags
impl Default for CullModeFlags
impl Default for CullModeFlags
pub fn default() -> CullModeFlags
pub fn default() -> CullModeFlags
Returns the “default value” for a type. Read more
impl Hash for CullModeFlags
impl Hash for CullModeFlags
impl Not for CullModeFlags
impl Not for CullModeFlags
type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the !
operator.
pub fn not(self) -> CullModeFlags
pub fn not(self) -> CullModeFlags
Performs the unary !
operation. Read more
impl Ord for CullModeFlags
impl Ord for CullModeFlags
pub fn cmp(&self, other: &CullModeFlags) -> Ordering
pub fn cmp(&self, other: &CullModeFlags) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<CullModeFlags> for CullModeFlags
impl PartialEq<CullModeFlags> for CullModeFlags
pub fn eq(&self, other: &CullModeFlags) -> bool
pub fn eq(&self, other: &CullModeFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &CullModeFlags) -> bool
pub fn ne(&self, other: &CullModeFlags) -> bool
This method tests for !=
.
impl PartialOrd<CullModeFlags> for CullModeFlags
impl PartialOrd<CullModeFlags> for CullModeFlags
pub fn partial_cmp(&self, other: &CullModeFlags) -> Option<Ordering>
pub fn partial_cmp(&self, other: &CullModeFlags) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Sub<CullModeFlags> for CullModeFlags
impl Sub<CullModeFlags> for CullModeFlags
type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the -
operator.
pub fn sub(self, rhs: CullModeFlags) -> CullModeFlags
pub fn sub(self, rhs: CullModeFlags) -> CullModeFlags
Performs the -
operation. Read more
impl SubAssign<CullModeFlags> for CullModeFlags
impl SubAssign<CullModeFlags> for CullModeFlags
pub fn sub_assign(&mut self, rhs: CullModeFlags)
pub fn sub_assign(&mut self, rhs: CullModeFlags)
Performs the -=
operation. Read more
impl Copy for CullModeFlags
impl Eq for CullModeFlags
impl StructuralEq for CullModeFlags
impl StructuralPartialEq for CullModeFlags
Auto Trait Implementations
impl RefUnwindSafe for CullModeFlags
impl Send for CullModeFlags
impl Sync for CullModeFlags
impl Unpin for CullModeFlags
impl UnwindSafe for CullModeFlags
Blanket Implementations
Mutably borrows from an owned value. Read more