Struct BlockRun
pub struct BlockRun {
pub x: i32,
pub z: i32,
pub y: i32,
pub height: u32,
pub surface: Option<Heightmap>,
pub block: u32,
pub only: Option<u32>,
}Expand description
A run: height blocks up a column from y (from the column’s surface height when one is
given), set to palette entry block, only where filter only matches when one is given.
Fields§
§x: i32§z: i32§y: i32§height: u32§surface: Option<Heightmap>§block: u32§only: Option<u32>Trait Implementations§
impl Copy for BlockRun
impl StructuralPartialEq for BlockRun
Auto Trait Implementations§
impl Freeze for BlockRun
impl RefUnwindSafe for BlockRun
impl Send for BlockRun
impl Sync for BlockRun
impl Unpin for BlockRun
impl UnsafeUnpin for BlockRun
impl UnwindSafe for BlockRun
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