#[non_exhaustive]#[repr(i32)]pub enum ShaderFloatControlsIndependence {
Float32Only = 0,
All = 1,
None = 2,
}
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.
Trait Implementations§
source§impl Clone for ShaderFloatControlsIndependence
impl Clone for ShaderFloatControlsIndependence
source§fn clone(&self) -> ShaderFloatControlsIndependence
fn clone(&self) -> ShaderFloatControlsIndependence
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
impl From<ShaderFloatControlsIndependence> for ShaderFloatControlsIndependence
source§fn from(val: ShaderFloatControlsIndependence) -> Self
fn from(val: ShaderFloatControlsIndependence) -> Self
Converts to this type from the input type.
source§impl PartialEq for ShaderFloatControlsIndependence
impl PartialEq for ShaderFloatControlsIndependence
source§fn eq(&self, other: &ShaderFloatControlsIndependence) -> bool
fn eq(&self, other: &ShaderFloatControlsIndependence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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