Enum rtlola_hir::hir::selector::FilterSelector
source · [−]pub enum FilterSelector {
Any,
Filtered,
Unfiltered,
}
Expand description
An enum used to select different filter behaviours of a stream.
Variants
Any
Any stream matches this selector
Filtered
Only streams with a filter condition match this selector
Unfiltered
Only streams without a filter condition match this selector
Trait Implementations
sourceimpl Clone for FilterSelector
impl Clone for FilterSelector
sourcefn clone(&self) -> FilterSelector
fn clone(&self) -> FilterSelector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FilterSelector
impl Debug for FilterSelector
sourceimpl Selectable for FilterSelector
impl Selectable for FilterSelector
sourcefn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
Returns true if the stream represented by sref
is accepted (selected) by the selector.
impl Copy for FilterSelector
Auto Trait Implementations
impl RefUnwindSafe for FilterSelector
impl Send for FilterSelector
impl Sync for FilterSelector
impl Unpin for FilterSelector
impl UnwindSafe for FilterSelector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more