#[repr(u8)]pub enum FresnelSelector {
None = 0,
PrimaryAlpha = 1,
SecondaryAlpha = 2,
Both = 3,
}Variants§
None = 0
No fresnel selection.
PrimaryAlpha = 1
Use as selector for primary colour unit alpha.
SecondaryAlpha = 2
Use as selector for secondary colour unit alpha.
Both = 3
Use as selector for both colour units.
Trait Implementations§
Source§impl Clone for FresnelSelector
impl Clone for FresnelSelector
Source§fn clone(&self) -> FresnelSelector
fn clone(&self) -> FresnelSelector
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FresnelSelector
impl Debug for FresnelSelector
Source§impl Hash for FresnelSelector
impl Hash for FresnelSelector
Source§impl Ord for FresnelSelector
impl Ord for FresnelSelector
Source§impl PartialEq for FresnelSelector
impl PartialEq for FresnelSelector
Source§impl PartialOrd for FresnelSelector
impl PartialOrd for FresnelSelector
Source§fn partial_cmp(&self, other: &FresnelSelector) -> Option<Ordering>
fn partial_cmp(&self, other: &FresnelSelector) -> Option<Ordering>
Source§impl TryFrom<u8> for FresnelSelector
impl TryFrom<u8> for FresnelSelector
impl Copy for FresnelSelector
impl Eq for FresnelSelector
impl StructuralPartialEq for FresnelSelector
Auto Trait Implementations§
impl Freeze for FresnelSelector
impl RefUnwindSafe for FresnelSelector
impl Send for FresnelSelector
impl Sync for FresnelSelector
impl Unpin for FresnelSelector
impl UnwindSafe for FresnelSelector
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)