pub enum NodePathResolution {
Resolved(NodeIdx),
Escaped,
IntoInstance,
Missing,
}Expand description
The reason a node path did (not) resolve — for the INVALID_NODE_PATH decision (M2).
Variants§
Resolved(NodeIdx)
Resolved to a concrete node.
Escaped
The path escapes the scene (.. / absolute /root/…) — out of the slice; never warn.
IntoInstance
The miss descends into an instanced/inherited sub-scene we don’t recurse into; never warn.
Missing
A genuinely absent in-scene node — the INVALID_NODE_PATH trigger.
Trait Implementations§
Source§impl Clone for NodePathResolution
impl Clone for NodePathResolution
Source§fn clone(&self) -> NodePathResolution
fn clone(&self) -> NodePathResolution
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 NodePathResolution
Source§impl Debug for NodePathResolution
impl Debug for NodePathResolution
impl Eq for NodePathResolution
Source§impl PartialEq for NodePathResolution
impl PartialEq for NodePathResolution
Source§fn eq(&self, other: &NodePathResolution) -> bool
fn eq(&self, other: &NodePathResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodePathResolution
Auto Trait Implementations§
impl Freeze for NodePathResolution
impl RefUnwindSafe for NodePathResolution
impl Send for NodePathResolution
impl Sync for NodePathResolution
impl Unpin for NodePathResolution
impl UnsafeUnpin for NodePathResolution
impl UnwindSafe for NodePathResolution
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