pub(super) struct SlimSSSE3<const BYTES: usize> {
slim128: Slim<__m128i, BYTES>,
}
Fields§
§slim128: Slim<__m128i, BYTES>
Implementations§
source§impl SlimSSSE3<1>
impl SlimSSSE3<1>
sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
source§impl SlimSSSE3<2>
impl SlimSSSE3<2>
sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
source§impl SlimSSSE3<3>
impl SlimSSSE3<3>
sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
source§impl SlimSSSE3<4>
impl SlimSSSE3<4>
sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
Trait Implementations§
Auto Trait Implementations§
impl<const BYTES: usize> Freeze for SlimSSSE3<BYTES>
impl<const BYTES: usize> RefUnwindSafe for SlimSSSE3<BYTES>
impl<const BYTES: usize> Send for SlimSSSE3<BYTES>
impl<const BYTES: usize> Sync for SlimSSSE3<BYTES>
impl<const BYTES: usize> Unpin for SlimSSSE3<BYTES>
impl<const BYTES: usize> UnwindSafe for SlimSSSE3<BYTES>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)