Enum InstanceError
#[non_exhaustive]pub enum InstanceError {
Model(ModelError),
NonFinite,
InvalidLight,
CapacityExceeded,
Translucent,
}Expand description
Why a whole instance batch was refused. Nothing from that batch is drawn.
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.
Model(ModelError)
The handle is stale or not a resolved standalone model.
NonFinite
An origin or transform component is not finite.
InvalidLight
A light channel is outside 0..=15.
CapacityExceeded
The batch would exceed this view’s 16,384 instance budget.
Translucent
The model has a translucent face and is not drawn as solid.
Trait Implementations§
§impl Clone for InstanceError
impl Clone for InstanceError
§fn clone(&self) -> InstanceError
fn clone(&self) -> InstanceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstanceError
§impl Debug for InstanceError
impl Debug for InstanceError
impl Eq for InstanceError
§impl From<InstanceError> for GroupError
impl From<InstanceError> for GroupError
§fn from(error: InstanceError) -> GroupError
fn from(error: InstanceError) -> GroupError
Converts to this type from the input type.
§impl PartialEq for InstanceError
impl PartialEq for InstanceError
impl StructuralPartialEq for InstanceError
Auto Trait Implementations§
impl Freeze for InstanceError
impl RefUnwindSafe for InstanceError
impl Send for InstanceError
impl Sync for InstanceError
impl Unpin for InstanceError
impl UnsafeUnpin for InstanceError
impl UnwindSafe for InstanceError
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