pub struct Window<EG: Numeric> {
pub slice: Slice<Line<EG>>,
pub size: u32,
}
Expand description
Contiguous slice wrapper for memcpy_async loading
Fields§
§slice: Slice<Line<EG>>
Contiguous slice containing all and only data of window
size: u32
Number of lines
Trait Implementations§
Source§impl<EG: Numeric> CubeType for Window<EG>
impl<EG: Numeric> CubeType for Window<EG>
type ExpandType = WindowExpand<EG>
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<EG> Freeze for Window<EG>
impl<EG> RefUnwindSafe for Window<EG>where
EG: RefUnwindSafe,
impl<EG> Send for Window<EG>
impl<EG> Sync for Window<EG>
impl<EG> Unpin for Window<EG>where
EG: Unpin,
impl<EG> UnwindSafe for Window<EG>where
EG: 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