pub struct PageViews {
pub global: Vec<f32>,
pub tiles: Vec<Vec<f32>>,
pub cols: usize,
pub rows: usize,
}Expand description
One image’s views: the global [3, 1024, 1024] and the tiles
[3, 640, 640] with the grid (cols, rows).
Fields§
§global: Vec<f32>§tiles: Vec<Vec<f32>>§cols: usize§rows: usizeAuto Trait Implementations§
impl Forget for PageViews
impl Freeze for PageViews
impl Move for PageViews
impl RefUnwindSafe for PageViews
impl Send for PageViews
impl Sync for PageViews
impl Unpin for PageViews
impl UnsafeUnpin for PageViews
impl UnwindSafe for PageViews
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