Struct core::arch::wasm32::v1281.54.0[−][src]

#[repr(simd)]
pub struct v128(_, _, _, _);
This is supported on WebAssembly only.
Expand description

WASM 特定的 128 位宽 SIMD vector 类型。

此类型对应于 WebAssembly SIMD proposal 中的 v128 类型。 此类型为 128 位大,所有位的含义在如何使用此值的上下文中定义。

该相同类型同时用于所有 128 位宽的 SIMD 类型,例如:

  • 十六个 8 位整数 (i8 和 u8)
  • 八个 16 位整数 (i16 和 u16)
  • 四个 32 位整数 (i32 和 u32)
  • 两个 64 位整数 (i64 和 u64)
  • 四个 32 位浮点数 (f32)
  • 两个 64 位浮点数 (f64)

Rust 中的 v128 类型旨在与 WebAssembly 中的 v128 类型非常相似。 v128 的操作只能通过本模块的函数进行。

Trait Implementations

返回值的副本。 Read more

从 source 执行复制分配。 Read more

使用给定的格式化程序格式化该值。 Read more

Auto Trait Implementations

Blanket Implementations

获取 self 的 TypeId。 Read more

从拥有的值中一成不变地借用。 Read more

从拥有的值中借用。 Read more

执行转换。

执行转换。

发生转换错误时返回的类型。

执行转换。

发生转换错误时返回的类型。

执行转换。