pub struct RawGltfScenePathCandidateRowV1 { /* private fields */ }Expand description
One scene-root-to-node candidate path in deterministic scene DFS order.
Implementations§
Source§impl RawGltfScenePathCandidateRowV1
impl RawGltfScenePathCandidateRowV1
Sourcepub fn new(
source_path_candidate_index: u64,
source_scene_index: u64,
source_node_indices: Vec<u64>,
) -> Self
pub fn new( source_path_candidate_index: u64, source_scene_index: u64, source_node_indices: Vec<u64>, ) -> Self
Construct one exact source-index path candidate.
Sourcepub const fn source_path_candidate_index(&self) -> u64
pub const fn source_path_candidate_index(&self) -> u64
Canonical candidate ordinal across all scenes.
Sourcepub const fn source_scene_index(&self) -> u64
pub const fn source_scene_index(&self) -> u64
Exact source scene-array index.
Sourcepub fn source_node_indices(&self) -> &[u64]
pub fn source_node_indices(&self) -> &[u64]
Root-to-node source identities, inclusive and in traversal order.
Sourcepub fn target_node_index(&self) -> Option<u64>
pub fn target_node_index(&self) -> Option<u64>
Target node at the end of this candidate path.
Trait Implementations§
Source§impl Clone for RawGltfScenePathCandidateRowV1
impl Clone for RawGltfScenePathCandidateRowV1
Source§fn clone(&self) -> RawGltfScenePathCandidateRowV1
fn clone(&self) -> RawGltfScenePathCandidateRowV1
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 moreSource§impl<'de> Deserialize<'de> for RawGltfScenePathCandidateRowV1
impl<'de> Deserialize<'de> for RawGltfScenePathCandidateRowV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RawGltfScenePathCandidateRowV1
impl StructuralPartialEq for RawGltfScenePathCandidateRowV1
Auto Trait Implementations§
impl Freeze for RawGltfScenePathCandidateRowV1
impl RefUnwindSafe for RawGltfScenePathCandidateRowV1
impl Send for RawGltfScenePathCandidateRowV1
impl Sync for RawGltfScenePathCandidateRowV1
impl Unpin for RawGltfScenePathCandidateRowV1
impl UnsafeUnpin for RawGltfScenePathCandidateRowV1
impl UnwindSafe for RawGltfScenePathCandidateRowV1
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