pub struct SwapRequest<T: AxpyDotNrm2Supported> {
pub n: i32,
pub x: GpuRef<T>,
pub incx: i32,
pub y: GpuRef<T>,
pub incy: i32,
pub reply: Sender<Result<(), GpuError>>,
}Fields§
§n: i32§x: GpuRef<T>§incx: i32§y: GpuRef<T>§incy: i32§reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl BlasL1Dispatch for SwapRequest<f32>
impl BlasL1Dispatch for SwapRequest<f32>
Source§impl BlasL1Dispatch for SwapRequest<f64>
impl BlasL1Dispatch for SwapRequest<f64>
Auto Trait Implementations§
impl<T> Freeze for SwapRequest<T>
impl<T> !RefUnwindSafe for SwapRequest<T>
impl<T> Send for SwapRequest<T>
impl<T> Sync for SwapRequest<T>
impl<T> Unpin for SwapRequest<T>
impl<T> UnsafeUnpin for SwapRequest<T>
impl<T> !UnwindSafe for SwapRequest<T>
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