pub struct LodTile {
pub x_min: f64,
pub x_max: f64,
pub y_min: f64,
pub y_max: f64,
pub row_start: usize,
pub row_end: usize,
}Available on crate feature
data only.Expand description
One block of a level: its x span and the y minimum/maximum in that span.
§Example
use crisol_core::data::LodTile;Fields§
§x_min: f64First x in the block.
x_max: f64Last x in the block.
y_min: f64Smallest y in the block.
y_max: f64Largest y in the block.
row_start: usizeFirst row (inclusive).
row_end: usizeLast row (exclusive).
Implementations§
Trait Implementations§
impl Copy for LodTile
impl StructuralPartialEq for LodTile
Auto Trait Implementations§
impl Forget for LodTile
impl Freeze for LodTile
impl Move for LodTile
impl RefUnwindSafe for LodTile
impl Send for LodTile
impl Sync for LodTile
impl Unpin for LodTile
impl UnsafeUnpin for LodTile
impl UnwindSafe for LodTile
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more