Trait ppv_lite86::types::Machine
source · pub trait Machine: Sized + Copy {
type u32x4: u32x4<Self>;
type u64x2: u64x2<Self>;
type u128x1: u128x1<Self>;
type u32x4x2: u32x4x2<Self>;
type u64x2x2: u64x2x2<Self>;
type u64x4: u64x4<Self>;
type u128x2: u128x2<Self>;
type u32x4x4: u32x4x4<Self>;
type u64x2x4: u64x2x4<Self>;
type u128x4: u128x4<Self>;
// Required method
unsafe fn instance() -> Self;
// Provided methods
fn unpack<S, V: Store<S>>(self, s: S) -> V { ... }
fn vec<V, A>(self, a: A) -> V
where V: MultiLane<A> { ... }
fn read_le<V>(self, input: &[u8]) -> V
where V: StoreBytes { ... }
fn read_be<V>(self, input: &[u8]) -> V
where V: StoreBytes { ... }
}
Required Associated Types§
type u32x4: u32x4<Self>
type u64x2: u64x2<Self>
type u128x1: u128x1<Self>
type u32x4x2: u32x4x2<Self>
type u64x2x2: u64x2x2<Self>
type u64x4: u64x4<Self>
type u128x2: u128x2<Self>
type u32x4x4: u32x4x4<Self>
type u64x2x4: u64x2x4<Self>
type u128x4: u128x4<Self>
Required Methods§
Provided Methods§
fn unpack<S, V: Store<S>>(self, s: S) -> V
fn vec<V, A>(self, a: A) -> Vwhere
V: MultiLane<A>,
fn read_le<V>(self, input: &[u8]) -> Vwhere
V: StoreBytes,
fn read_be<V>(self, input: &[u8]) -> Vwhere
V: StoreBytes,
Object Safety§
This trait is not object safe.