#[repr(simd)]pub(crate) struct u8x2(pub u8, pub u8);
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Tuple Fields§
§0: u8
🔬This is a nightly-only experimental API. (
§stdsimd
#48556)1: u8
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Implementations§
source§impl u8x2
impl u8x2
pub(crate) const fn new(x0: u8, x1: u8) -> Self
🔬This is a nightly-only experimental API. (
stdsimd
#48556)pub(crate) const fn splat(value: u8) -> Self
🔬This is a nightly-only experimental API. (
stdsimd
#48556)pub(crate) fn extract(self, index: usize) -> u8
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Trait Implementations§
source§impl PartialEq<u8x2> for u8x2
impl PartialEq<u8x2> for u8x2
impl Copy for u8x2
impl StructuralPartialEq for u8x2
Auto Trait Implementations§
impl Freeze for u8x2
impl RefUnwindSafe for u8x2
impl Send for u8x2
impl Sync for u8x2
impl Unpin for u8x2
impl UnwindSafe for u8x2
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