[][src]Struct simba::simd::SimdOption

pub struct SimdOption<V: SimdValue> { /* fields omitted */ }

Methods

impl<V: SimdValue> SimdOption<V>[src]

pub fn new(val: V, mask: V::SimdBool) -> Self[src]

pub fn option(self) -> Option<V>[src]

pub fn simd_unwrap(self) -> V[src]

pub fn simd_unwrap_or(self, other: impl FnOnce() -> V) -> V[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for SimdOption<V> where
    V: RefUnwindSafe,
    <V as SimdValue>::SimdBool: RefUnwindSafe

impl<V> Send for SimdOption<V> where
    V: Send,
    <V as SimdValue>::SimdBool: Send

impl<V> Sync for SimdOption<V> where
    V: Sync,
    <V as SimdValue>::SimdBool: Sync

impl<V> Unpin for SimdOption<V> where
    V: Unpin,
    <V as SimdValue>::SimdBool: Unpin

impl<V> UnwindSafe for SimdOption<V> where
    V: UnwindSafe,
    <V as SimdValue>::SimdBool: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.