Struct screen_13::prelude::vk::CullModeFlags
source · pub struct CullModeFlags(_);Expand description
Implementations§
source§impl CullModeFlags
impl CullModeFlags
pub const fn empty() -> CullModeFlags
pub const fn from_raw(x: u32) -> CullModeFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: CullModeFlags) -> bool
sourcepub const fn contains(self, other: CullModeFlags) -> bool
pub const fn contains(self, other: CullModeFlags) -> bool
Returns whether other is a subset of self
source§impl CullModeFlags
impl CullModeFlags
pub const NONE: CullModeFlags = Self(0)
pub const FRONT: CullModeFlags = Self(1)
pub const BACK: CullModeFlags = Self(2)
pub const FRONT_AND_BACK: CullModeFlags = Self(3)
Trait Implementations§
source§impl BitAnd<CullModeFlags> for CullModeFlags
impl BitAnd<CullModeFlags> for CullModeFlags
§type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: CullModeFlags) -> CullModeFlags
fn bitand(self, rhs: CullModeFlags) -> CullModeFlags
Performs the
& operation. Read moresource§impl BitAndAssign<CullModeFlags> for CullModeFlags
impl BitAndAssign<CullModeFlags> for CullModeFlags
source§fn bitand_assign(&mut self, rhs: CullModeFlags)
fn bitand_assign(&mut self, rhs: CullModeFlags)
Performs the
&= operation. Read moresource§impl BitOr<CullModeFlags> for CullModeFlags
impl BitOr<CullModeFlags> for CullModeFlags
§type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: CullModeFlags) -> CullModeFlags
fn bitor(self, rhs: CullModeFlags) -> CullModeFlags
Performs the
| operation. Read moresource§impl BitOrAssign<CullModeFlags> for CullModeFlags
impl BitOrAssign<CullModeFlags> for CullModeFlags
source§fn bitor_assign(&mut self, rhs: CullModeFlags)
fn bitor_assign(&mut self, rhs: CullModeFlags)
Performs the
|= operation. Read moresource§impl BitXor<CullModeFlags> for CullModeFlags
impl BitXor<CullModeFlags> for CullModeFlags
§type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: CullModeFlags) -> CullModeFlags
fn bitxor(self, rhs: CullModeFlags) -> CullModeFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<CullModeFlags> for CullModeFlags
impl BitXorAssign<CullModeFlags> for CullModeFlags
source§fn bitxor_assign(&mut self, rhs: CullModeFlags)
fn bitxor_assign(&mut self, rhs: CullModeFlags)
Performs the
^= operation. Read moresource§impl Clone for CullModeFlags
impl Clone for CullModeFlags
source§fn clone(&self) -> CullModeFlags
fn clone(&self) -> CullModeFlags
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 CullModeFlags
impl Debug for CullModeFlags
source§impl Default for CullModeFlags
impl Default for CullModeFlags
source§fn default() -> CullModeFlags
fn default() -> CullModeFlags
Returns the “default value” for a type. Read more
source§impl Hash for CullModeFlags
impl Hash for CullModeFlags
source§impl Not for CullModeFlags
impl Not for CullModeFlags
§type Output = CullModeFlags
type Output = CullModeFlags
The resulting type after applying the
! operator.source§fn not(self) -> CullModeFlags
fn not(self) -> CullModeFlags
Performs the unary
! operation. Read moresource§impl Ord for CullModeFlags
impl Ord for CullModeFlags
source§fn cmp(&self, other: &CullModeFlags) -> Ordering
fn cmp(&self, other: &CullModeFlags) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<CullModeFlags> for CullModeFlags
impl PartialEq<CullModeFlags> for CullModeFlags
source§fn eq(&self, other: &CullModeFlags) -> bool
fn eq(&self, other: &CullModeFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CullModeFlags> for CullModeFlags
impl PartialOrd<CullModeFlags> for CullModeFlags
source§fn partial_cmp(&self, other: &CullModeFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &CullModeFlags) -> Option<Ordering>
1.0.0 · source§fn 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 more