pub enum LaneShape {
I8x16,
I16x8,
I32x4,
I64x2,
F32x4,
F64x2,
}Expand description
SIMD lane shapes.
Variants§
Implementations§
Source§impl LaneShape
impl LaneShape
Sourcepub fn lane_width(self) -> usize
pub fn lane_width(self) -> usize
Bytes per lane.
Sourcepub fn scalar_type(self) -> ValType
pub fn scalar_type(self) -> ValType
Scalar type of one lane.
Trait Implementations§
impl Copy for LaneShape
impl Eq for LaneShape
impl StructuralPartialEq for LaneShape
Auto Trait Implementations§
impl Freeze for LaneShape
impl RefUnwindSafe for LaneShape
impl Send for LaneShape
impl Sync for LaneShape
impl Unpin for LaneShape
impl UnsafeUnpin for LaneShape
impl UnwindSafe for LaneShape
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