#[non_exhaustive]#[repr(i32)]pub enum PartType {
Invalid = -1,
Mesh = 0,
Curve = 1,
Volume = 2,
Instancer = 3,
Box = 4,
Sphere = 5,
Max = 6,
}
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§
impl Copy for PartType
impl Eq for PartType
impl StructuralPartialEq for PartType
Auto Trait Implementations§
impl Freeze for PartType
impl RefUnwindSafe for PartType
impl Send for PartType
impl Sync for PartType
impl Unpin for PartType
impl UnwindSafe for PartType
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