[−][src]Struct fastanvil::RegionBlockDrawer
Fields
map: RegionMap<Rgba>
palette: &'a P
processed_chunks: usize
painted_pixels: usize
Implementations
impl<'a, P: Palette + ?Sized> RegionBlockDrawer<'a, P>
[src]
Trait Implementations
impl<'a, P: Palette + ?Sized> ChunkRender for RegionBlockDrawer<'a, P>
[src]
fn draw(&mut self, xc_rel: usize, zc_rel: usize, chunk: &mut Chunk<'_>)
[src]
fn draw_invalid(&mut self, xc_rel: usize, zc_rel: usize)
[src]
impl<'a, P: Palette + ?Sized> IntoMap for RegionBlockDrawer<'a, P>
[src]
Auto Trait Implementations
impl<'a, P: ?Sized> RefUnwindSafe for RegionBlockDrawer<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<'a, P: ?Sized> Send for RegionBlockDrawer<'a, P> where
P: Sync,
P: Sync,
impl<'a, P: ?Sized> Sync for RegionBlockDrawer<'a, P> where
P: Sync,
P: Sync,
impl<'a, P: ?Sized> Unpin for RegionBlockDrawer<'a, P>
impl<'a, P: ?Sized> UnwindSafe for RegionBlockDrawer<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,