pub struct SemanticMapView<'a, VR: VertexRef> { /* private fields */ }Expand description
Read view over the semantic map of a geometry.
Exposes semantic handle assignments per primitive level:
points(), linestrings(), and surfaces(). Each returns a HandleOptionSlice
with one optional SemanticHandle per primitive. None means no semantic is assigned
to that primitive.
Implementations§
Source§impl<'a, VR: VertexRef> SemanticMapView<'a, VR>
impl<'a, VR: VertexRef> SemanticMapView<'a, VR>
pub fn points(&self) -> HandleOptionSlice<'a, SemanticHandle>
pub fn linestrings(&self) -> HandleOptionSlice<'a, SemanticHandle>
pub fn surfaces(&self) -> HandleOptionSlice<'a, SemanticHandle>
Trait Implementations§
Source§impl<'a, VR: Clone + VertexRef> Clone for SemanticMapView<'a, VR>
impl<'a, VR: Clone + VertexRef> Clone for SemanticMapView<'a, VR>
Source§fn clone(&self) -> SemanticMapView<'a, VR>
fn clone(&self) -> SemanticMapView<'a, VR>
Returns a duplicate 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 moreimpl<'a, VR: Copy + VertexRef> Copy for SemanticMapView<'a, VR>
Auto Trait Implementations§
impl<'a, VR> Freeze for SemanticMapView<'a, VR>
impl<'a, VR> RefUnwindSafe for SemanticMapView<'a, VR>where
VR: RefUnwindSafe,
impl<'a, VR> Send for SemanticMapView<'a, VR>where
VR: Sync,
impl<'a, VR> Sync for SemanticMapView<'a, VR>where
VR: Sync,
impl<'a, VR> Unpin for SemanticMapView<'a, VR>
impl<'a, VR> UnsafeUnpin for SemanticMapView<'a, VR>
impl<'a, VR> UnwindSafe for SemanticMapView<'a, VR>where
VR: RefUnwindSafe,
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