pub struct FillRequest<T: RngFloatSupported> {
pub buf: GpuRef<T>,
pub dist: Distribution<T>,
pub reply: Sender<Result<(), GpuError>>,
}Expand description
Single typed fill request: RngActor accepts any
Box<FillRequest<T>> through RngMsg::Fill(_).
Fields§
§buf: GpuRef<T>§dist: Distribution<T>§reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl RngDispatch for FillRequest<f32>
impl RngDispatch for FillRequest<f32>
Source§impl RngDispatch for FillRequest<f64>
impl RngDispatch for FillRequest<f64>
Auto Trait Implementations§
impl<T> Freeze for FillRequest<T>
impl<T> !RefUnwindSafe for FillRequest<T>
impl<T> Send for FillRequest<T>
impl<T> Sync for FillRequest<T>
impl<T> Unpin for FillRequest<T>
impl<T> UnsafeUnpin for FillRequest<T>
impl<T> !UnwindSafe for FillRequest<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