#[non_exhaustive]pub enum SceneWarningKind {
Decode(DecodeError),
UnsupportedCurve(UnsupportedCurve),
LimitReached {
option: &'static str,
limit: usize,
},
OutOfRange,
}Expand description
Why part of a node was left out of a scene.
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.
Decode(DecodeError)
The attribute value could not be decoded.
UnsupportedCurve(UnsupportedCurve)
Curves of a type that is not drawn yet.
LimitReached
The walk reached a limit of SceneOptions at this path and
stopped; nodes not visited by then are left out. option names the
field, max_visits or max_path_bytes, and limit its value. The
warning’s attribute is empty.
OutOfRange
Coordinates that the scene’s f32 buffers and render matrices
cannot hold: a geometry spanning more than f32::MAX, or an
instance placed beyond about 8.5 × 10³⁷ or scaled past f32::MAX.
The geometry or the instance is left out.
Trait Implementations§
Source§impl Clone for SceneWarningKind
impl Clone for SceneWarningKind
Source§fn clone(&self) -> SceneWarningKind
fn clone(&self) -> SceneWarningKind
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 SceneWarningKind
impl Debug for SceneWarningKind
Source§impl PartialEq for SceneWarningKind
impl PartialEq for SceneWarningKind
impl StructuralPartialEq for SceneWarningKind
Auto Trait Implementations§
impl Freeze for SceneWarningKind
impl RefUnwindSafe for SceneWarningKind
impl Send for SceneWarningKind
impl Sync for SceneWarningKind
impl Unpin for SceneWarningKind
impl UnwindSafe for SceneWarningKind
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