pub struct VirtualLayoutExpand<C: Coordinates, S: Coordinates> { /* private fields */ }Implementations§
Source§impl<C: Coordinates, S: Coordinates> VirtualLayoutExpand<C, S>
impl<C: Coordinates, S: Coordinates> VirtualLayoutExpand<C, S>
pub fn __expand_to_source_pos_method( self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <S as CubeType>::ExpandType
pub fn __expand_to_source_pos_checked_method( self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <(S, bool) as CubeType>::ExpandType
pub fn __expand_shape_method( self, scope: &mut Scope, ) -> <C as CubeType>::ExpandType
pub fn __expand_is_in_bounds_method( self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <bool as CubeType>::ExpandType
pub fn __expand_to_source_pos( scope: &mut Scope, this: Self, pos: <C as CubeType>::ExpandType, ) -> <S as CubeType>::ExpandType
pub fn __expand_to_source_pos_checked( scope: &mut Scope, this: Self, pos: <C as CubeType>::ExpandType, ) -> <(S, bool) as CubeType>::ExpandType
pub fn __expand_shape( scope: &mut Scope, this: Self, ) -> <C as CubeType>::ExpandType
pub fn __expand_is_in_bounds( scope: &mut Scope, this: Self, pos: <C as CubeType>::ExpandType, ) -> <bool as CubeType>::ExpandType
Source§impl<C: Coordinates, S: Coordinates> VirtualLayoutExpand<C, S>
impl<C: Coordinates, S: Coordinates> VirtualLayoutExpand<C, S>
Sourcepub fn new<L: VirtualLayoutOperationsExpand<C, S> + 'static>(
layout: L,
) -> VirtualLayoutExpand<C, S>
pub fn new<L: VirtualLayoutOperationsExpand<C, S> + 'static>( layout: L, ) -> VirtualLayoutExpand<C, S>
Create a new virtual layout from a concrete one
Trait Implementations§
Source§impl<C: Clone + Coordinates, S: Clone + Coordinates> Clone for VirtualLayoutExpand<C, S>
impl<C: Clone + Coordinates, S: Clone + Coordinates> Clone for VirtualLayoutExpand<C, S>
Source§fn clone(&self) -> VirtualLayoutExpand<C, S>
fn clone(&self) -> VirtualLayoutExpand<C, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Coordinates, S: Coordinates> CubeDebug for VirtualLayoutExpand<C, S>
impl<C: Coordinates, S: Coordinates> CubeDebug for VirtualLayoutExpand<C, S>
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl<C: Coordinates, S: Coordinates, L: VirtualLayoutOperationsExpand<C, S> + 'static> From<L> for VirtualLayoutExpand<C, S>
impl<C: Coordinates, S: Coordinates, L: VirtualLayoutOperationsExpand<C, S> + 'static> From<L> for VirtualLayoutExpand<C, S>
Source§impl<C: Coordinates, S: Coordinates> IntoMut for VirtualLayoutExpand<C, S>
impl<C: Coordinates, S: Coordinates> IntoMut for VirtualLayoutExpand<C, S>
Auto Trait Implementations§
impl<C, S> Freeze for VirtualLayoutExpand<C, S>
impl<C, S> !RefUnwindSafe for VirtualLayoutExpand<C, S>
impl<C, S> !Send for VirtualLayoutExpand<C, S>
impl<C, S> !Sync for VirtualLayoutExpand<C, S>
impl<C, S> Unpin for VirtualLayoutExpand<C, S>
impl<C, S> !UnwindSafe for VirtualLayoutExpand<C, S>
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