pub enum Kind {
Block,
Item,
Recipe,
Book,
Def,
Model,
Anim,
Entity,
Font,
}Expand description
What a content file defines.
Variants§
Block
.yblock — a block and its item form.
Item
.yitem — an item.
Recipe
.yrecipe — a recipe.
Book
.ybook — a guide book (yog_book::Book as JSON).
Def
.ydef — a definition of some kind: a ladder, a level on one, a
sound group, a kind of recipe, a recipe layout.
Model
.ymodel — a skeleton of bones and cubes (yog_body).
Anim
.yanim — animation clips (yog_body).
Entity
.yentity — an entity type: an object, a living thing or a mob.
Font
.yfont — a font in Yog’s vector-glyph format.
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.