pub struct TilingDimensions {
pub tile_shape_row: u32,
pub tile_shape_col: u32,
pub tile_count_row: u32,
pub tile_count_col: u32,
}
Expand description
Dimensions for stage.
Fields§
§tile_shape_row: u32
§tile_shape_col: u32
§tile_count_row: u32
§tile_count_col: u32
Implementations§
Source§impl TilingDimensions
impl TilingDimensions
Sourcepub fn total_size(&self) -> u32
pub fn total_size(&self) -> u32
Returns the total number of elements of the stage.
Sourcepub fn tile_shape_row(&self) -> u32
pub fn tile_shape_row(&self) -> u32
Returns the size of the row axis of a tile.
Sourcepub fn tile_shape_col(&self) -> u32
pub fn tile_shape_col(&self) -> u32
Returns the size of the column axis of a tile.
Sourcepub fn tile_count(&self) -> u32
pub fn tile_count(&self) -> u32
Returns the number of tiles within the stage.
Sourcepub fn tile_count_row(&self) -> u32
pub fn tile_count_row(&self) -> u32
Returns the number of tiles across the row axis of the stage.
Sourcepub fn tile_count_col(&self) -> u32
pub fn tile_count_col(&self) -> u32
Returns the number of tiles across the column axis of the stage.
Trait Implementations§
Source§impl Clone for TilingDimensions
impl Clone for TilingDimensions
Source§fn clone(&self) -> TilingDimensions
fn clone(&self) -> TilingDimensions
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 Debug for TilingDimensions
impl Debug for TilingDimensions
Source§impl Hash for TilingDimensions
impl Hash for TilingDimensions
Source§impl PartialEq for TilingDimensions
impl PartialEq for TilingDimensions
impl Copy for TilingDimensions
impl Eq for TilingDimensions
impl StructuralPartialEq for TilingDimensions
Auto Trait Implementations§
impl Freeze for TilingDimensions
impl RefUnwindSafe for TilingDimensions
impl Send for TilingDimensions
impl Sync for TilingDimensions
impl Unpin for TilingDimensions
impl UnwindSafe for TilingDimensions
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