#[non_exhaustive]
#[repr(i32)]
pub enum ShaderFloatControlsIndependence {
Float32Only,
All,
None,
}
Expand description
Specifies whether, and how, shader float controls can be set independently.
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.
Float32Only
All
None
Trait Implementations
sourceimpl Clone for ShaderFloatControlsIndependence
impl Clone for ShaderFloatControlsIndependence
sourcefn clone(&self) -> ShaderFloatControlsIndependence
fn clone(&self) -> ShaderFloatControlsIndependence
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
impl From<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
sourcefn from(val: ShaderFloatControlsIndependence) -> Self
fn from(val: ShaderFloatControlsIndependence) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
impl PartialEq<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
sourcefn eq(&self, other: &ShaderFloatControlsIndependence) -> bool
fn eq(&self, other: &ShaderFloatControlsIndependence) -> bool
impl Copy for ShaderFloatControlsIndependence
impl Eq for ShaderFloatControlsIndependence
impl StructuralEq for ShaderFloatControlsIndependence
impl StructuralPartialEq for ShaderFloatControlsIndependence
Auto Trait Implementations
impl RefUnwindSafe for ShaderFloatControlsIndependence
impl Send for ShaderFloatControlsIndependence
impl Sync for ShaderFloatControlsIndependence
impl Unpin for ShaderFloatControlsIndependence
impl UnwindSafe for ShaderFloatControlsIndependence
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more