pub struct PlaneTile { /* private fields */ }Expand description
One rectangular row-major tile of a physical sampling plane.
Implementations§
Source§impl PlaneTile
impl PlaneTile
Sourcepub fn column_start(self) -> usize
pub fn column_start(self) -> usize
Returns the first global column in the tile.
Sourcepub fn max_offset_metres(self) -> f64
pub fn max_offset_metres(self) -> f64
Returns the farthest cell-center offset from the tile center.
Sourcepub fn segments_per_tensor(self) -> usize
pub fn segments_per_tensor(self) -> usize
Returns the predicted segments needed by one f32 tile Tensor.
Sourcepub fn tensor_bytes(self) -> u64
pub fn tensor_bytes(self) -> u64
Returns the byte count of one f32 tile Tensor.
Trait Implementations§
impl Copy for PlaneTile
impl StructuralPartialEq for PlaneTile
Auto Trait Implementations§
impl Freeze for PlaneTile
impl RefUnwindSafe for PlaneTile
impl Send for PlaneTile
impl Sync for PlaneTile
impl Unpin for PlaneTile
impl UnsafeUnpin for PlaneTile
impl UnwindSafe for PlaneTile
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