ppv_lite86

Trait Vec2

Source
pub trait Vec2<W> {
    // Required methods
    fn extract(self, i: u32) -> W;
    fn insert(self, w: W, i: u32) -> Self;
}
Expand description

A vector composed of two elements, which may be words or themselves vectors.

Required Methods§

Source

fn extract(self, i: u32) -> W

Source

fn insert(self, w: W, i: u32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§