pub struct MvtFeatureRef<'a> { /* private fields */ }Implementations§
Source§impl<'a> MvtFeatureRef<'a>
impl<'a> MvtFeatureRef<'a>
pub fn id(self) -> Option<u64>
pub fn geometry_commands(self) -> &'a [u32]
pub fn geom_type(self) -> Option<GeomType>
pub fn geom_type_value(self) -> Option<i32>
pub fn has_properties(self) -> bool
pub fn properties(self) -> MvtPropertyIter<'a> ⓘ
pub fn properties_vec(self) -> MvtResult<Vec<(&'a str, MvtValueRef<'a>)>>
pub fn geometry(self) -> MvtResult<MvtGeometry>
pub fn to_feature(self) -> MvtResult<MvtFeature>
Trait Implementations§
Source§impl<'a> Clone for MvtFeatureRef<'a>
impl<'a> Clone for MvtFeatureRef<'a>
Source§fn clone(&self) -> MvtFeatureRef<'a>
fn clone(&self) -> MvtFeatureRef<'a>
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<'a> Copy for MvtFeatureRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MvtFeatureRef<'a>
impl<'a> RefUnwindSafe for MvtFeatureRef<'a>
impl<'a> Send for MvtFeatureRef<'a>
impl<'a> Sync for MvtFeatureRef<'a>
impl<'a> Unpin for MvtFeatureRef<'a>
impl<'a> UnsafeUnpin for MvtFeatureRef<'a>
impl<'a> UnwindSafe for MvtFeatureRef<'a>
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