Skip to main content

MaskExpand

Trait MaskExpand 

Source
pub trait MaskExpand {
    // Required method
    fn __expand_should_mask_method(
        self,
        scope: &mut Scope,
        local_pos: <Coords2d as CubeType>::ExpandType,
    ) -> <bool as CubeType>::ExpandType;
}
Expand description

Minimal mask abstraction used by row-wise tile operations. Returns true when the element at local_pos should be treated as masked (i.e. driven to -inf by Tile::scale_and_mask).

Required Methods§

Source

fn __expand_should_mask_method( self, scope: &mut Scope, local_pos: <Coords2d as CubeType>::ExpandType, ) -> <bool as CubeType>::ExpandType

Implementors§