pub struct M256(/* private fields */);Expand description
A 256-bit block of bits.
Word 0 holds the lowest bits.
Implementations§
Trait Implementations§
impl Copy for M256
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<M256> for M512
impl Divisible<M256> 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<u8> for M256
impl Divisible<u8> 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<u16> for M256
impl Divisible<u16> 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<u32> for M256
impl Divisible<u32> 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<u64> for M256
impl Divisible<u64> 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
impl Eq for M256
impl StructuralPartialEq for M256
Auto Trait Implementations§
impl Freeze for M256
impl RefUnwindSafe for M256
impl Send for M256
impl Sync for M256
impl Unpin for M256
impl UnsafeUnpin for M256
impl UnwindSafe for M256
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