Union memchr::memmem::searcher::PrefilterKind
source · union PrefilterKind {
fallback: Finder,
sse2: Finder,
avx2: Finder,
}
Expand description
A union indicating one of several possible prefilters that are in active use.
This union should only be read by one of the functions prefixed with
prefilter_kind_
. Namely, the correct function is meant to be paired with
the union by the caller, such that the function always reads from the
designated union field.
Fields§
§fallback: Finder
§sse2: Finder
§avx2: Finder
Trait Implementations§
source§impl Clone for PrefilterKind
impl Clone for PrefilterKind
source§fn clone(&self) -> PrefilterKind
fn clone(&self) -> PrefilterKind
Returns a copy 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 moreimpl Copy for PrefilterKind
Auto Trait Implementations§
impl Freeze for PrefilterKind
impl RefUnwindSafe for PrefilterKind
impl Send for PrefilterKind
impl Sync for PrefilterKind
impl Unpin for PrefilterKind
impl UnwindSafe for PrefilterKind
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