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§
impl Copy for Alpha
impl Eq for Alpha
impl StructuralPartialEq for Alpha
Auto Trait Implementations§
impl Freeze for Alpha
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)