#[non_exhaustive]pub struct TileCacheParams {
pub origin: [f32; 3],
pub cs: f32,
pub ch: f32,
pub width: i32,
pub height: i32,
pub max_obstacles: i32,
}Expand description
Tile cache parameters
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.origin: [f32; 3]Origin of the tile cache
cs: f32Cell size (horizontal resolution)
ch: f32Cell height (vertical resolution)
width: i32Width of the tile cache (in tiles)
height: i32Height of the tile cache (in tiles)
max_obstacles: i32Maximum number of obstacles
Trait Implementations§
Source§impl Clone for TileCacheParams
impl Clone for TileCacheParams
Source§fn clone(&self) -> TileCacheParams
fn clone(&self) -> TileCacheParams
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 TileCacheParams
impl Debug for TileCacheParams
Auto Trait Implementations§
impl Freeze for TileCacheParams
impl RefUnwindSafe for TileCacheParams
impl Send for TileCacheParams
impl Sync for TileCacheParams
impl Unpin for TileCacheParams
impl UnsafeUnpin for TileCacheParams
impl UnwindSafe for TileCacheParams
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