Struct pilka_lib::ash::vk::BlendFactor [−]
#[repr(transparent)]pub struct BlendFactor(_);
Expand description
Implementations
impl BlendFactor
impl BlendFactor
pub const fn from_raw(x: i32) -> BlendFactor
impl BlendFactor
impl BlendFactor
pub const ZERO: BlendFactor
pub const ONE: BlendFactor
pub const SRC_COLOR: BlendFactor
pub const ONE_MINUS_SRC_COLOR: BlendFactor
pub const DST_COLOR: BlendFactor
pub const ONE_MINUS_DST_COLOR: BlendFactor
pub const SRC_ALPHA: BlendFactor
pub const ONE_MINUS_SRC_ALPHA: BlendFactor
pub const DST_ALPHA: BlendFactor
pub const ONE_MINUS_DST_ALPHA: BlendFactor
pub const CONSTANT_COLOR: BlendFactor
pub const ONE_MINUS_CONSTANT_COLOR: BlendFactor
pub const CONSTANT_ALPHA: BlendFactor
pub const ONE_MINUS_CONSTANT_ALPHA: BlendFactor
pub const SRC_ALPHA_SATURATE: BlendFactor
pub const SRC1_COLOR: BlendFactor
pub const ONE_MINUS_SRC1_COLOR: BlendFactor
pub const SRC1_ALPHA: BlendFactor
pub const ONE_MINUS_SRC1_ALPHA: BlendFactor
Trait Implementations
impl Clone for BlendFactor
impl Clone for BlendFactor
pub fn clone(&self) -> BlendFactor
pub fn clone(&self) -> BlendFactor
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for BlendFactor
impl Debug for BlendFactor
impl Default for BlendFactor
impl Default for BlendFactor
pub fn default() -> BlendFactor
pub fn default() -> BlendFactor
Returns the “default value” for a type. Read more
impl Hash for BlendFactor
impl Hash for BlendFactor
impl Ord for BlendFactor
impl Ord for BlendFactor
pub fn cmp(&self, other: &BlendFactor) -> Ordering
pub fn cmp(&self, other: &BlendFactor) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<BlendFactor> for BlendFactor
impl PartialEq<BlendFactor> for BlendFactor
pub fn eq(&self, other: &BlendFactor) -> bool
pub fn eq(&self, other: &BlendFactor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &BlendFactor) -> bool
pub fn ne(&self, other: &BlendFactor) -> bool
This method tests for !=
.
impl PartialOrd<BlendFactor> for BlendFactor
impl PartialOrd<BlendFactor> for BlendFactor
pub fn partial_cmp(&self, other: &BlendFactor) -> Option<Ordering>
pub fn partial_cmp(&self, other: &BlendFactor) -> 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 Copy for BlendFactor
impl Eq for BlendFactor
impl StructuralEq for BlendFactor
impl StructuralPartialEq for BlendFactor
Auto Trait Implementations
impl RefUnwindSafe for BlendFactor
impl Send for BlendFactor
impl Sync for BlendFactor
impl Unpin for BlendFactor
impl UnwindSafe for BlendFactor
Blanket Implementations
Mutably borrows from an owned value. Read more