pub struct ZeroGlobalReader<IP: MatrixPrecision> { /* private fields */ }Expand description
Accumulator reader that zeros the accumulator
Implementations§
Source§impl<IP: MatrixPrecision> ZeroGlobalReader<IP>
impl<IP: MatrixPrecision> ZeroGlobalReader<IP>
pub fn new() -> Self
Sourcepub fn stage(&self) -> FilledStage<IP::Stage>
pub fn stage(&self) -> FilledStage<IP::Stage>
Give a reader to the loaded data.
pub fn __expand_new(scope: &mut Scope) -> <Self as CubeType>::ExpandType
pub fn __expand_stage( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> <FilledStage<IP::Stage> as CubeType>::ExpandType
Trait Implementations§
Source§impl<IP: MatrixPrecision> CubeType for ZeroGlobalReader<IP>
impl<IP: MatrixPrecision> CubeType for ZeroGlobalReader<IP>
type ExpandType = ZeroGlobalReaderExpand<IP>
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Auto Trait Implementations§
impl<IP> Freeze for ZeroGlobalReader<IP>
impl<IP> RefUnwindSafe for ZeroGlobalReader<IP>where
IP: RefUnwindSafe,
impl<IP> Send for ZeroGlobalReader<IP>
impl<IP> Sync for ZeroGlobalReader<IP>
impl<IP> Unpin for ZeroGlobalReader<IP>where
IP: Unpin,
impl<IP> UnwindSafe for ZeroGlobalReader<IP>where
IP: 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