[−][src]Struct simba::simd::SimdOption
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,
V: RefUnwindSafe,
<V as SimdValue>::SimdBool: RefUnwindSafe,
impl<V> Send for SimdOption<V> where
V: Send,
<V as SimdValue>::SimdBool: Send,
V: Send,
<V as SimdValue>::SimdBool: Send,
impl<V> Sync for SimdOption<V> where
V: Sync,
<V as SimdValue>::SimdBool: Sync,
V: Sync,
<V as SimdValue>::SimdBool: Sync,
impl<V> Unpin for SimdOption<V> where
V: Unpin,
<V as SimdValue>::SimdBool: Unpin,
V: Unpin,
<V as SimdValue>::SimdBool: Unpin,
impl<V> UnwindSafe for SimdOption<V> where
V: UnwindSafe,
<V as SimdValue>::SimdBool: UnwindSafe,
V: UnwindSafe,
<V as SimdValue>::SimdBool: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,