pub enum ElementKind {
Images,
Panoramas,
Vertices,
Surfaces,
Segments,
Objects,
Categories,
Regions,
Portals,
Levels,
}Expand description
Scene element kind used by SemanticScene::count.
Variants§
Images
Image count from the descriptor header.
Panoramas
Panorama count from the descriptor header.
Vertices
Vertex count from the descriptor header.
Surfaces
Surface count from the descriptor header.
Segments
Segment count from the descriptor header.
Objects
Object count from the descriptor header.
Categories
Category count from the descriptor header.
Regions
Region count from the descriptor header.
Portals
Portal count from the descriptor header.
Levels
Level count from the descriptor header.
Trait Implementations§
Source§impl Clone for ElementKind
impl Clone for ElementKind
Source§fn clone(&self) -> ElementKind
fn clone(&self) -> ElementKind
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 Debug for ElementKind
impl Debug for ElementKind
Source§impl Hash for ElementKind
impl Hash for ElementKind
Source§impl PartialEq for ElementKind
impl PartialEq for ElementKind
Source§fn eq(&self, other: &ElementKind) -> bool
fn eq(&self, other: &ElementKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ElementKind
impl Eq for ElementKind
impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl Freeze for ElementKind
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnsafeUnpin for ElementKind
impl UnwindSafe for ElementKind
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