pub struct M128(/* private fields */);Expand description
A 128-bit block of bits.
Word 0 holds the lowest bits.
Implementations§
Trait Implementations§
impl Copy for M128
Source§impl Divisible<M128> for M512
impl Divisible<M128> for M512
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
Source§impl Divisible<M128> for M256
impl Divisible<M128> for M256
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
Source§impl Divisible<u8> for M128
impl Divisible<u8> for M128
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
Source§impl Divisible<u16> for M128
impl Divisible<u16> for M128
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
Source§impl Divisible<u32> for M128
impl Divisible<u32> for M128
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
Source§impl Divisible<u64> for M128
impl Divisible<u64> for M128
Source§fn parts_mut(&mut self) -> &mut [Narrow]
fn parts_mut(&mut self) -> &mut [Narrow]
The narrow blocks this one is made of, lowest bits first.
Source§fn split_slice(slice: &[Self]) -> &[Narrow]
fn split_slice(slice: &[Self]) -> &[Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
fn split_slice_mut(slice: &mut [Self]) -> &mut [Narrow]
A run of wide blocks read as one run of narrow ones, lowest bits first.
Source§const CHECK_LAYOUT: () = _
const CHECK_LAYOUT: () = _
What every reinterpretation above rests on, rejected at compile time if it fails. Read more
impl Eq for M128
impl StructuralPartialEq for M128
Auto Trait Implementations§
impl Freeze for M128
impl RefUnwindSafe for M128
impl Send for M128
impl Sync for M128
impl Unpin for M128
impl UnsafeUnpin for M128
impl UnwindSafe for M128
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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