#[repr(i32)]
#[non_exhaustive]
pub enum PartType {
Invalid,
Mesh,
Curve,
Volume,
Instancer,
Box,
Sphere,
Max,
}
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.
Invalid
Mesh
Curve
Volume
Instancer
Box
Sphere
Max
Trait Implementations
impl Copy for PartType
impl Eq for PartType
impl StructuralEq for PartType
impl StructuralPartialEq for PartType
Auto Trait Implementations
impl RefUnwindSafe for PartType
impl Send for PartType
impl Sync for PartType
impl Unpin for PartType
impl UnwindSafe for PartType
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