pub(super) struct FatAVX2<const BYTES: usize> {
fat256: Fat<__m256i, BYTES>,
}
Creates a new searcher using “slim” Teddy with 256-bit
vectors. If AVX2 is not available in the current
environment, then this returns None
.
Available with target feature avx2
only.
Creates a new searcher using “slim” Teddy with 256-bit
vectors without checking whether AVX2 is available or not.
§Safety
Callers must ensure that AVX2 is available in the current
environment.
Creates a new searcher using “slim” Teddy with 256-bit
vectors. If AVX2 is not available in the current
environment, then this returns None
.
Available with target feature avx2
only.
Creates a new searcher using “slim” Teddy with 256-bit
vectors without checking whether AVX2 is available or not.
§Safety
Callers must ensure that AVX2 is available in the current
environment.
Creates a new searcher using “slim” Teddy with 256-bit
vectors. If AVX2 is not available in the current
environment, then this returns None
.
Available with target feature avx2
only.
Creates a new searcher using “slim” Teddy with 256-bit
vectors without checking whether AVX2 is available or not.
§Safety
Callers must ensure that AVX2 is available in the current
environment.
Creates a new searcher using “slim” Teddy with 256-bit
vectors. If AVX2 is not available in the current
environment, then this returns None
.
Available with target feature avx2
only.
Creates a new searcher using “slim” Teddy with 256-bit
vectors without checking whether AVX2 is available or not.
§Safety
Callers must ensure that AVX2 is available in the current
environment.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Execute a search on the given haystack (identified by
start
and
end
raw pointers).
Read more
Execute a search on the given haystack (identified by
start
and
end
raw pointers).
Read more
Execute a search on the given haystack (identified by
start
and
end
raw pointers).
Read more
Execute a search on the given haystack (identified by
start
and
end
raw pointers).
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dst
.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.