pub struct FilledStage<ES: Numeric> { /* private fields */ }Implementations§
Source§impl<ES: Numeric> FilledStage<ES>
impl<ES: Numeric> FilledStage<ES>
pub fn new(value: ES) -> Self
pub fn __expand_new( scope: &mut Scope, value: <ES as CubeType>::ExpandType, ) -> <Self as CubeType>::ExpandType
Trait Implementations§
Source§impl<ES: Numeric> CubeType for FilledStage<ES>
impl<ES: Numeric> CubeType for FilledStage<ES>
type ExpandType = FilledStageExpand<ES>
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.
Source§impl<ES: Numeric> Stage<ES, ReadOnly> for FilledStage<ES>
impl<ES: Numeric> Stage<ES, ReadOnly> for FilledStage<ES>
Source§fn tile(this: &Self, _tile: Coords2d) -> ES
fn tile(this: &Self, _tile: Coords2d) -> ES
Slices a tile with offset (
row, col) from the stage and returns itfn __expand_tile( scope: &mut Scope, this: <Self as CubeType>::ExpandType, _tile: <Coords2d as CubeType>::ExpandType, ) -> <ES as CubeType>::ExpandType
Auto Trait Implementations§
impl<ES> Freeze for FilledStage<ES>where
ES: Freeze,
impl<ES> RefUnwindSafe for FilledStage<ES>where
ES: RefUnwindSafe,
impl<ES> Send for FilledStage<ES>
impl<ES> Sync for FilledStage<ES>
impl<ES> Unpin for FilledStage<ES>where
ES: Unpin,
impl<ES> UnwindSafe for FilledStage<ES>where
ES: 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