#[repr(C)]pub struct BlendMode {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl BlendMode
impl BlendMode
pub fn zero() -> Self
pub fn one() -> Self
pub fn dst_color() -> Self
pub fn src_color() -> Self
pub fn one_minus_dst_color() -> Self
pub fn src_alpha() -> Self
pub fn one_minus_src_color() -> Self
pub fn dst_alpha() -> Self
pub fn one_minus_dst_alpha() -> Self
pub fn src_alpha_saturate() -> Self
pub fn one_minus_src_alpha() -> Self
Trait Implementations§
Source§impl ClassIdentity for BlendMode
impl ClassIdentity for BlendMode
impl Copy for BlendMode
impl Eq for BlendMode
impl StructuralPartialEq for BlendMode
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnwindSafe for BlendMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)