pub struct WirePack { /* private fields */ }Expand description
The quantisation scale and lane count gpu_pack_wire packs one
sample with.
The kernel shifts a quantised sample by lane * (32 / samples_per_word)
and never masks it, so a max wider than the lane holds spills bits
into the neighbouring sample. Both values come from one Depth
through Depth::wire_pack, which makes that pairing impossible to
get wrong.
Implementations§
Trait Implementations§
impl Copy for WirePack
impl StructuralPartialEq for WirePack
Auto Trait Implementations§
impl Freeze for WirePack
impl RefUnwindSafe for WirePack
impl Send for WirePack
impl Sync for WirePack
impl Unpin for WirePack
impl UnsafeUnpin for WirePack
impl UnwindSafe for WirePack
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