pub struct Item<D: Dialect> { /* private fields */ }
Implementations§
Source§impl<D: Dialect> Item<D>
impl<D: Dialect> Item<D>
pub fn elem(&self) -> &Elem<D>
pub fn new(elem: Elem<D>, vectorization: usize, native: bool) -> Self
pub fn scalar(elem: Elem<D>, native: bool) -> Self
pub fn can_be_optimized(&self) -> bool
pub fn is_optimized(&self) -> bool
pub fn optimized(&self) -> Item<D>
pub fn de_optimized(&self) -> Self
Trait Implementations§
impl<D: Copy + Dialect> Copy for Item<D>
impl<D: Eq + Dialect> Eq for Item<D>
impl<D: Dialect> StructuralPartialEq for Item<D>
Auto Trait Implementations§
impl<D> Freeze for Item<D>
impl<D> RefUnwindSafe for Item<D>where
D: RefUnwindSafe,
impl<D> Send for Item<D>
impl<D> Sync for Item<D>
impl<D> Unpin for Item<D>where
D: Unpin,
impl<D> UnwindSafe for Item<D>where
D: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more