Skip to main content

ActiveSet

Trait ActiveSet 

Source
pub trait ActiveSet:
    Sealed
    + Copy
    + 'static {
    const MASK: u64;
    const NAME: &'static str;
}
Expand description

Marker trait for active lane set types.

Each implementor is a zero-sized type encoding a specific bitmask of lanes. The MASK constant enables runtime debugging; the type itself provides compile-time tracking.

Required Associated Constants§

Source

const MASK: u64

Bitmask of active lanes (for runtime debugging/verification).

Source

const NAME: &'static str

Human-readable name.

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§

Source§

impl ActiveSet for All

Source§

const MASK: u64 = 4294967295u64

Source§

const NAME: &'static str = "All"

Source§

impl ActiveSet for Empty

Source§

const MASK: u64 = 0

Source§

const NAME: &'static str = "Empty"

Source§

impl ActiveSet for Even

Source§

const MASK: u64 = 1431655765u64

Source§

const NAME: &'static str = "Even"

Source§

impl ActiveSet for EvenHigh

Source§

const MASK: u64 = 1431633920u64

Source§

const NAME: &'static str = "EvenHigh"

Source§

impl ActiveSet for EvenLow

Source§

const MASK: u64 = 21845u64

Source§

const NAME: &'static str = "EvenLow"

Source§

impl ActiveSet for HighHalf

Source§

const MASK: u64 = 4294901760u64

Source§

const NAME: &'static str = "HighHalf"

Source§

impl ActiveSet for Lane0

Source§

const MASK: u64 = 1u64

Source§

const NAME: &'static str = "Lane0"

Source§

impl ActiveSet for LowHalf

Source§

const MASK: u64 = 65535u64

Source§

const NAME: &'static str = "LowHalf"

Source§

impl ActiveSet for NotLane0

Source§

const MASK: u64 = 4294967294u64

Source§

const NAME: &'static str = "NotLane0"

Source§

impl ActiveSet for Odd

Source§

const MASK: u64 = 2863311530u64

Source§

const NAME: &'static str = "Odd"

Source§

impl ActiveSet for OddHigh

Source§

const MASK: u64 = 2863267840u64

Source§

const NAME: &'static str = "OddHigh"

Source§

impl ActiveSet for OddLow

Source§

const MASK: u64 = 43690u64

Source§

const NAME: &'static str = "OddLow"