Enum PipelineBlend
#[non_exhaustive]pub enum PipelineBlend {
Translucent,
Additive,
}Expand description
How a pipeline’s fragments join the frame.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Translucent
Laid over the frame by the fragment’s alpha, as crate::WorldQuad is.
Additive
Added to the frame, scaled by the fragment’s alpha.
Trait Implementations§
§impl Clone for PipelineBlend
impl Clone for PipelineBlend
§fn clone(&self) -> PipelineBlend
fn clone(&self) -> PipelineBlend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineBlend
§impl Debug for PipelineBlend
impl Debug for PipelineBlend
impl Eq for PipelineBlend
§impl PartialEq for PipelineBlend
impl PartialEq for PipelineBlend
impl StructuralPartialEq for PipelineBlend
Auto Trait Implementations§
impl Freeze for PipelineBlend
impl RefUnwindSafe for PipelineBlend
impl Send for PipelineBlend
impl Sync for PipelineBlend
impl Unpin for PipelineBlend
impl UnsafeUnpin for PipelineBlend
impl UnwindSafe for PipelineBlend
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