Enum dae_parser::SurfacePrecision
source · [−]pub enum SurfacePrecision {
Low,
Mid,
High,
}
Expand description
The precision of the texel channel value.
Each channel of the texel has a precision. Typically, channels have the same precision. An exact format may lower the precision of an individual channel but applying a higher precision by linking the channels may still convey the same information.
Variants
Low
For integers, this typically represents 8 bits. For floats, typically 16 bits.
Mid
For integers, this typically represents 8 to 24 bits. For floats, typically 16 to 32 bits.
High
For integers, this typically represents 16 to 32 bits. For floats, typically 24 to 32 bits.
Implementations
Trait Implementations
sourceimpl Clone for SurfacePrecision
impl Clone for SurfacePrecision
sourcefn clone(&self) -> SurfacePrecision
fn clone(&self) -> SurfacePrecision
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SurfacePrecision
impl Debug for SurfacePrecision
sourceimpl Display for SurfacePrecision
impl Display for SurfacePrecision
sourceimpl FromStr for SurfacePrecision
impl FromStr for SurfacePrecision
sourceimpl PartialEq<SurfacePrecision> for SurfacePrecision
impl PartialEq<SurfacePrecision> for SurfacePrecision
sourcefn eq(&self, other: &SurfacePrecision) -> bool
fn eq(&self, other: &SurfacePrecision) -> bool
impl Copy for SurfacePrecision
impl Eq for SurfacePrecision
impl StructuralEq for SurfacePrecision
impl StructuralPartialEq for SurfacePrecision
Auto Trait Implementations
impl RefUnwindSafe for SurfacePrecision
impl Send for SurfacePrecision
impl Sync for SurfacePrecision
impl Unpin for SurfacePrecision
impl UnwindSafe for SurfacePrecision
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