pub struct MvtLayerRef<'a>(/* private fields */);Implementations§
Source§impl<'a> MvtLayerRef<'a>
impl<'a> MvtLayerRef<'a>
pub fn name(self) -> &'a str
pub fn version(self) -> u32
pub fn extent(self) -> u32
pub fn feature_count(self) -> usize
pub fn is_empty(self) -> bool
pub fn keys(self) -> &'a [&'a str]
pub fn values(self) -> impl ExactSizeIterator<Item = MvtValueRef<'a>>
pub fn features(self) -> impl ExactSizeIterator<Item = MvtFeatureRef<'a>>
pub fn to_layer(self) -> MvtResult<MvtLayer>
Trait Implementations§
Source§impl<'a> Clone for MvtLayerRef<'a>
impl<'a> Clone for MvtLayerRef<'a>
Source§fn clone(&self) -> MvtLayerRef<'a>
fn clone(&self) -> MvtLayerRef<'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 MvtLayerRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MvtLayerRef<'a>
impl<'a> RefUnwindSafe for MvtLayerRef<'a>
impl<'a> Send for MvtLayerRef<'a>
impl<'a> Sync for MvtLayerRef<'a>
impl<'a> Unpin for MvtLayerRef<'a>
impl<'a> UnsafeUnpin for MvtLayerRef<'a>
impl<'a> UnwindSafe for MvtLayerRef<'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