Enum nobject_rs::DisolveType
source · pub enum DisolveType {
Alpha(f32),
Halo(f32),
}
Expand description
Enum for the possible ways to specify the disolve
Variants§
Alpha(f32)
The amount this material dissolves into the background. 1.0 is fully opaque
Halo(f32)
Specifies that the disolve is based on the orientation of the viewer. The value is the minimum to apply to a material.
Trait Implementations§
source§impl Clone for DisolveType
impl Clone for DisolveType
source§fn clone(&self) -> DisolveType
fn clone(&self) -> DisolveType
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 Debug for DisolveType
impl Debug for DisolveType
source§impl PartialEq for DisolveType
impl PartialEq for DisolveType
source§fn eq(&self, other: &DisolveType) -> bool
fn eq(&self, other: &DisolveType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisolveType
impl StructuralPartialEq for DisolveType
Auto Trait Implementations§
impl Freeze for DisolveType
impl RefUnwindSafe for DisolveType
impl Send for DisolveType
impl Sync for DisolveType
impl Unpin for DisolveType
impl UnwindSafe for DisolveType
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