[][src]Struct fastnbt::anvil::draw::Chunk

pub struct Chunk { /* fields omitted */ }

Implementations

impl Chunk[src]

pub fn new(
    heights: Vec<u16>,
    sections: Vec<Section>,
    biomes: Option<Vec<i32>>
) -> Self
[src]

pub fn id_of(&self, x: usize, y: usize, z: usize) -> &str[src]

pub fn height_of(&self, x: usize, z: usize) -> usize[src]

pub fn biome_of(&self, x: usize, _y: usize, z: usize) -> Option<Biome>[src]

Auto Trait Implementations

impl RefUnwindSafe for Chunk

impl Send for Chunk

impl Sync for Chunk

impl Unpin for Chunk

impl UnwindSafe for Chunk

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.