pub struct LoHi<T> {
pub lo: T,
pub hi: T,
}Expand description
Representation of the low and high halves associated with an implementation of
SplitJoin or crate::ZipUnzip.
Fields§
§lo: TThe first half of a split entity.
hi: TThe second half of a split entity.
Implementations§
Source§impl<T> LoHi<T>
impl<T> LoHi<T>
Sourcepub fn zip<U>(self) -> Uwhere
U: ZipUnzip<Halved = T>,
pub fn zip<U>(self) -> Uwhere
U: ZipUnzip<Halved = T>,
Zip-interleave the lo and hi halves into a full-width vector.
Trait Implementations§
impl<T: Copy> Copy for LoHi<T>
Auto Trait Implementations§
impl<T> Freeze for LoHi<T>where
T: Freeze,
impl<T> RefUnwindSafe for LoHi<T>where
T: RefUnwindSafe,
impl<T> Send for LoHi<T>where
T: Send,
impl<T> Sync for LoHi<T>where
T: Sync,
impl<T> Unpin for LoHi<T>where
T: Unpin,
impl<T> UnsafeUnpin for LoHi<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LoHi<T>where
T: 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