pub struct BlendState {
pub color: BlendComponent,
pub alpha: BlendComponent,
}Fields§
§color: BlendComponent§alpha: BlendComponentImplementations§
Source§impl BlendState
impl BlendState
pub const REPLACE: Self
pub const ALPHA_BLENDING: Self
pub const PREMULTIPLIED_ALPHA_BLENDING: Self
pub const ADDITIVE: Self
Trait Implementations§
Source§impl Clone for BlendState
impl Clone for BlendState
impl Copy for BlendState
Source§impl Debug for BlendState
impl Debug for BlendState
impl Eq for BlendState
Source§impl PartialEq for BlendState
impl PartialEq for BlendState
impl StructuralPartialEq for BlendState
Auto Trait Implementations§
impl Freeze for BlendState
impl RefUnwindSafe for BlendState
impl Send for BlendState
impl Sync for BlendState
impl Unpin for BlendState
impl UnsafeUnpin for BlendState
impl UnwindSafe for BlendState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more