Function v128_load8_lane

#[target_feature(enable = "simd128")]
pub unsafe fn v128_load8_lane<const L: usize>(v: v128, m: *const u8) -> v128

Loads an 8-bit value from m and sets lane L of v to that value.

This intrinsic is provided for completeness and is equivalent to u8x16_replace_lane::<L>(v, *m) (which doesn't require unsafe).

Unsafety

This intrinsic is unsafe because it takes a raw pointer as an argument, and the pointer must be valid to load 1 byte from. Note that there is no alignment requirement on this pointer since this intrinsic performs a 1-aligned load.