Enum egui::widgets::color_picker::Alpha
source · pub enum Alpha {
Opaque,
OnlyBlend,
BlendOrAdditive,
}
Expand description
What options to show for alpha
Variants§
Opaque
Set alpha to 1.0, and show no option for it.
OnlyBlend
Only show normal blend options for alpha.
BlendOrAdditive
Show both blend and additive options.
Trait Implementations§
source§impl PartialEq for Alpha
impl PartialEq for Alpha
impl Copy for Alpha
impl Eq for Alpha
impl StructuralEq for Alpha
impl StructuralPartialEq for Alpha
Auto Trait Implementations§
impl RefUnwindSafe for Alpha
impl Send for Alpha
impl Sync for Alpha
impl Unpin for Alpha
impl UnwindSafe for Alpha
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