pub enum PropertyFilter<PropKey> {
Only(PropKey),
FromTo(PropKey, PropKey),
All,
}Expand description
Filter an iterator depending on the connected properties
Variants§
Only(PropKey)
Get only the elements connected with this property
FromTo(PropKey, PropKey)
Get all the elements connected with any property in between (and including) the start and end properties
All
Get all elements (don’t filter by property)
Auto Trait Implementations§
impl<PropKey> Freeze for PropertyFilter<PropKey>where
PropKey: Freeze,
impl<PropKey> RefUnwindSafe for PropertyFilter<PropKey>where
PropKey: RefUnwindSafe,
impl<PropKey> Send for PropertyFilter<PropKey>where
PropKey: Send,
impl<PropKey> Sync for PropertyFilter<PropKey>where
PropKey: Sync,
impl<PropKey> Unpin for PropertyFilter<PropKey>where
PropKey: Unpin,
impl<PropKey> UnwindSafe for PropertyFilter<PropKey>where
PropKey: UnwindSafe,
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