pub enum AttributeFilter {
KeepAll,
Exclude(HashSet<String>),
Include(HashSet<String>),
ExcludeAll,
}Expand description
Opt-in user-property selection (tippecanoe --exclude/--include/
--exclude-all mental model). Applied at the point property columns are
materialised, so it governs BOTH point/line/polygon layers and clipped
trajectory-segment layers.
SYSTEM columns (feature id, start/end time, geometry, vertex_time /
vertex_value / vertex_value_matrix, triangles) are NOT user properties and
are therefore never reachable here — they always survive. This filter only
ever touches the properties map.
Variants§
KeepAll
No filtering — every user property is kept (the default; byte-for-byte identical to a build with none of the attribute flags set).
Exclude(HashSet<String>)
Drop exactly these property names (--exclude).
Include(HashSet<String>)
Keep ONLY these property names (--include).
ExcludeAll
Drop every user property — geometry + times only (--exclude-all).
Implementations§
Trait Implementations§
Source§impl Clone for AttributeFilter
impl Clone for AttributeFilter
Source§fn clone(&self) -> AttributeFilter
fn clone(&self) -> AttributeFilter
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AttributeFilter
impl Debug for AttributeFilter
Source§impl Default for AttributeFilter
impl Default for AttributeFilter
Source§fn default() -> AttributeFilter
fn default() -> AttributeFilter
Auto Trait Implementations§
impl Freeze for AttributeFilter
impl RefUnwindSafe for AttributeFilter
impl Send for AttributeFilter
impl Sync for AttributeFilter
impl Unpin for AttributeFilter
impl UnsafeUnpin for AttributeFilter
impl UnwindSafe for AttributeFilter
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more