Enum hapi_rs::raw::VolumeVisualType
source · #[non_exhaustive]#[repr(i32)]pub enum VolumeVisualType {
Invalid = -1,
Smoke = 0,
Rainbow = 1,
Iso = 2,
Invisible = 3,
Heightfield = 4,
Max = 5,
}
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 VolumeVisualType
impl Clone for VolumeVisualType
source§fn clone(&self) -> VolumeVisualType
fn clone(&self) -> VolumeVisualType
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 VolumeVisualType
impl Debug for VolumeVisualType
source§impl Hash for VolumeVisualType
impl Hash for VolumeVisualType
source§impl PartialEq for VolumeVisualType
impl PartialEq for VolumeVisualType
source§fn eq(&self, other: &VolumeVisualType) -> bool
fn eq(&self, other: &VolumeVisualType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VolumeVisualType
impl Eq for VolumeVisualType
impl StructuralEq for VolumeVisualType
impl StructuralPartialEq for VolumeVisualType
Auto Trait Implementations§
impl RefUnwindSafe for VolumeVisualType
impl Send for VolumeVisualType
impl Sync for VolumeVisualType
impl Unpin for VolumeVisualType
impl UnwindSafe for VolumeVisualType
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