pub enum RecurseFilter<'a> {
WithinWays {
input: Cow<'a, Set<'a>>,
},
WithinRelations {
input: Cow<'a, Set<'a>>,
role: Option<SaniStr<'a>>,
},
ContainingNodes {
input: Cow<'a, Set<'a>>,
role: Option<SaniStr<'a>>,
},
ContainingWays {
input: Cow<'a, Set<'a>>,
role: Option<SaniStr<'a>>,
},
ContainingRelations {
input: Cow<'a, Set<'a>>,
role: Option<SaniStr<'a>>,
},
}Expand description
A filter set criterion based on the element’s relationship to other elements.
Variants§
WithinWays
WithinRelations
Select Nodes/Ways that are members of a Relation in the provided input Set. If a role is specified, the element must also have that role in said relations.
ContainingNodes
Select Ways/Relations that have a member Node in the provided input Set. If a role is specified, the node must also have that role in said relations.
ContainingWays
Select Relations that have a member Way in the provided input Set. If a role is specified, the way must also have that role in said relations.
ContainingRelations
Implementations§
Trait Implementations§
Source§impl<'a> Clone for RecurseFilter<'a>
impl<'a> Clone for RecurseFilter<'a>
Source§fn clone(&self) -> RecurseFilter<'a>
fn clone(&self) -> RecurseFilter<'a>
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 moreSource§impl<'a> Debug for RecurseFilter<'a>
impl<'a> Debug for RecurseFilter<'a>
Source§impl<'a> Hash for RecurseFilter<'a>
impl<'a> Hash for RecurseFilter<'a>
Source§impl<'a> PartialEq for RecurseFilter<'a>
impl<'a> PartialEq for RecurseFilter<'a>
impl<'a> Eq for RecurseFilter<'a>
impl<'a> StructuralPartialEq for RecurseFilter<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecurseFilter<'a>
impl<'a> RefUnwindSafe for RecurseFilter<'a>
impl<'a> Send for RecurseFilter<'a>
impl<'a> Sync for RecurseFilter<'a>
impl<'a> Unpin for RecurseFilter<'a>
impl<'a> UnsafeUnpin for RecurseFilter<'a>
impl<'a> UnwindSafe for RecurseFilter<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.