#[non_exhaustive]pub enum SplitFilter<V, S> {
WhiteList(V, PhantomData<S>),
BlackList(V, PhantomData<S>),
None,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WhiteList(V, PhantomData<S>)
Based on SplitBy, show only the tabs that are in the whitelist
BlackList(V, PhantomData<S>)
Based on SplitBy, show only the tabs that are not in the blacklist
None
Show all the tabs
Implementations§
Source§impl<V, S> SplitFilter<V, S>
impl<V, S> SplitFilter<V, S>
Auto Trait Implementations§
impl<V, S> Freeze for SplitFilter<V, S>where
V: Freeze,
impl<V, S> RefUnwindSafe for SplitFilter<V, S>where
V: RefUnwindSafe,
S: RefUnwindSafe,
impl<V, S> Send for SplitFilter<V, S>
impl<V, S> Sync for SplitFilter<V, S>
impl<V, S> Unpin for SplitFilter<V, S>
impl<V, S> UnwindSafe for SplitFilter<V, S>where
V: UnwindSafe,
S: 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
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>
Converts
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>
Converts
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