#[repr(u8)]
pub enum SpriteKind {
Show 242 variants Empty, BarrelCactus, RoundCactus, ShortCactus, MedFlatCactus, ShortFlatCactus, BlueFlower, PinkFlower, PurpleFlower, RedFlower, WhiteFlower, YellowFlower, Sunflower, LongGrass, MediumGrass, ShortGrass, Apple, Mushroom, Liana, Velorite, VeloriteFrag, Chest, Pumpkin, Welwitch, LingonBerry, LeafyPlant, Fern, DeadBush, Blueberry, Ember, Corn, WheatYellow, WheatGreen, Cabbage, Flax, Carrot, Tomato, Radish, Coconut, Turnip, Window1, Window2, Window3, Window4, Scarecrow, StreetLamp, StreetLampTall, Door, Bed, Bench, ChairSingle, ChairDouble, CoatRack, Crate, DrawerLarge, DrawerMedium, DrawerSmall, DungeonWallDecor, HangingBasket, HangingSign, WallLamp, Planter, Shelf, TableSide, TableDining, TableDouble, WardrobeSingle, WardrobeDouble, LargeGrass, Pot, Stones, Twigs, DropGate, DropGateBottom, GrassSnow, Reed, Beehive, LargeCactus, VialEmpty, PotionMinor, GrassBlue, ChestBuried, Mud, FireBowlGround, CaveMushroom, Bowl, SavannaGrass, TallSavannaGrass, RedSavannaGrass, SavannaBush, Amethyst, Ruby, Sapphire, Emerald, Topaz, Diamond, AmethystSmall, TopazSmall, DiamondSmall, RubySmall, EmeraldSmall, SapphireSmall, WallLampSmall, WallSconce, StonyCoral, SoftCoral, SeaweedTemperate, SeaweedTropical, GiantKelp, BullKelp, WavyAlgae, SeaGrapes, MermaidsFan, SeaAnemone, Seashells, Seagrass, RedAlgae, UnderwaterVent, Lantern, CraftingBench, Forge, Cauldron, Anvil, CookingPot, DungeonChest0, DungeonChest1, DungeonChest2, DungeonChest3, DungeonChest4, DungeonChest5, Loom, SpinningWheel, CrystalHigh, Bloodstone, Coal, Cobalt, Copper, Iron, Tin, Silver, Gold, Cotton, Moonbell, Pyrebloom, TanningRack, WildFlax, CrystalLow, CeilingMushroom, Orb, EnsnaringVines, WitchWindow, SmokeDummy, Bones, CavernGrassBlueShort, CavernGrassBlueMedium, CavernGrassBlueLong, CavernLillypadBlue, CavernMycelBlue, DismantlingBench, JungleFern, LillyPads, JungleLeafyPlant, JungleRedGrass, Bomb, ChristmasOrnament, ChristmasWreath, EnsnaringWeb, WindowArabic, MelonCut, BookshelfArabic, DecorSetArabic, SepareArabic, CushionArabic, JugArabic, TableArabicSmall, TableArabicLarge, CanapeArabic, CupboardArabic, WallTableArabic, JugAndBowlArabic, OvenArabic, FountainArabic, Hearth, ForgeTools, CliffDecorBlock, Wood, Bamboo, Hardwood, Ironwood, Frostwood, Eldwood, SeaUrchin, GlassBarrier, CoralChest, SeaDecorChain, SeaDecorBlock, SeaDecorWindowHor, SeaDecorWindowVer, SeaDecorEmblem, SeaDecorPillar, SeashellLantern, Rope, IceSpike, Bedroll, BedrollSnow, BedrollPirate, Tent, Grave, Gravestone, PotionDummy, DoorDark, MagicalBarrier, MagicalSeal, WallLampWizard, Candle, Keyhole, KeyDoor, CommonLockedChest, RepairBench, Helm, DoorWide, BoneKeyhole, BoneKeyDoor, FireBlock, IceCrystal, GlowIceCrystal, OneWayWall, GlassKeyhole, TallCactus, Sign, DoorBars, KeyholeBars, WoodBarricades, SewerMushroom, DiamondLight, Mine, SmithingTable, Forge0, GearWheel0, Quench0, IronSpike, HotSurface,
}

Variants§

§

Empty

§

BarrelCactus

§

RoundCactus

§

ShortCactus

§

MedFlatCactus

§

ShortFlatCactus

§

BlueFlower

§

PinkFlower

§

PurpleFlower

§

RedFlower

§

WhiteFlower

§

YellowFlower

§

Sunflower

§

LongGrass

§

MediumGrass

§

ShortGrass

§

Apple

§

Mushroom

§

Liana

§

Velorite

§

VeloriteFrag

§

Chest

§

Pumpkin

§

Welwitch

§

LingonBerry

§

LeafyPlant

§

Fern

§

DeadBush

§

Blueberry

§

Ember

§

Corn

§

WheatYellow

§

WheatGreen

§

Cabbage

§

Flax

§

Carrot

§

Tomato

§

Radish

§

Coconut

§

Turnip

§

Window1

§

Window2

§

Window3

§

Window4

§

Scarecrow

§

StreetLamp

§

StreetLampTall

§

Door

§

Bed

§

Bench

§

ChairSingle

§

ChairDouble

§

CoatRack

§

Crate

§

DrawerLarge

§

DrawerMedium

§

DrawerSmall

§

DungeonWallDecor

§

HangingBasket

§

HangingSign

§

WallLamp

§

Planter

§

Shelf

§

TableSide

§

TableDining

§

TableDouble

§

WardrobeSingle

§

WardrobeDouble

§

LargeGrass

§

Pot

§

Stones

§

Twigs

§

DropGate

§

DropGateBottom

§

GrassSnow

§

Reed

§

Beehive

§

LargeCactus

§

VialEmpty

§

PotionMinor

§

GrassBlue

§

ChestBuried

§

Mud

§

FireBowlGround

§

CaveMushroom

§

Bowl

§

SavannaGrass

§

TallSavannaGrass

§

RedSavannaGrass

§

SavannaBush

§

Amethyst

§

Ruby

§

Sapphire

§

Emerald

§

Topaz

§

Diamond

§

AmethystSmall

§

TopazSmall

§

DiamondSmall

§

RubySmall

§

EmeraldSmall

§

SapphireSmall

§

WallLampSmall

§

WallSconce

§

StonyCoral

§

SoftCoral

§

SeaweedTemperate

§

SeaweedTropical

§

GiantKelp

§

BullKelp

§

WavyAlgae

§

SeaGrapes

§

MermaidsFan

§

SeaAnemone

§

Seashells

§

Seagrass

§

RedAlgae

§

UnderwaterVent

§

Lantern

§

CraftingBench

§

Forge

§

Cauldron

§

Anvil

§

CookingPot

§

DungeonChest0

§

DungeonChest1

§

DungeonChest2

§

DungeonChest3

§

DungeonChest4

§

DungeonChest5

§

Loom

§

SpinningWheel

§

CrystalHigh

§

Bloodstone

§

Coal

§

Cobalt

§

Copper

§

Iron

§

Tin

§

Silver

§

Gold

§

Cotton

§

Moonbell

§

Pyrebloom

§

TanningRack

§

WildFlax

§

CrystalLow

§

CeilingMushroom

§

Orb

§

EnsnaringVines

§

WitchWindow

§

SmokeDummy

§

Bones

§

CavernGrassBlueShort

§

CavernGrassBlueMedium

§

CavernGrassBlueLong

§

CavernLillypadBlue

§

CavernMycelBlue

§

DismantlingBench

§

JungleFern

§

LillyPads

§

JungleLeafyPlant

§

JungleRedGrass

§

Bomb

§

ChristmasOrnament

§

ChristmasWreath

§

EnsnaringWeb

§

WindowArabic

§

MelonCut

§

BookshelfArabic

§

DecorSetArabic

§

SepareArabic

§

CushionArabic

§

JugArabic

§

TableArabicSmall

§

TableArabicLarge

§

CanapeArabic

§

CupboardArabic

§

WallTableArabic

§

JugAndBowlArabic

§

OvenArabic

§

FountainArabic

§

Hearth

§

ForgeTools

§

CliffDecorBlock

§

Wood

§

Bamboo

§

Hardwood

§

Ironwood

§

Frostwood

§

Eldwood

§

SeaUrchin

§

GlassBarrier

§

CoralChest

§

SeaDecorChain

§

SeaDecorBlock

§

SeaDecorWindowHor

§

SeaDecorWindowVer

§

SeaDecorEmblem

§

SeaDecorPillar

§

SeashellLantern

§

Rope

§

IceSpike

§

Bedroll

§

BedrollSnow

§

BedrollPirate

§

Tent

§

Grave

§

Gravestone

§

PotionDummy

§

DoorDark

§

MagicalBarrier

§

MagicalSeal

§

WallLampWizard

§

Candle

§

Keyhole

§

KeyDoor

§

CommonLockedChest

§

RepairBench

§

Helm

§

DoorWide

§

BoneKeyhole

§

BoneKeyDoor

§

FireBlock

§

IceCrystal

§

GlowIceCrystal

§

OneWayWall

§

GlassKeyhole

§

TallCactus

§

Sign

§

DoorBars

§

KeyholeBars

§

WoodBarricades

§

SewerMushroom

§

DiamondLight

§

Mine

§

SmithingTable

§

Forge0

§

GearWheel0

§

Quench0

§

IronSpike

§

HotSurface

Implementations§

source§

impl SpriteKind

source

pub fn elim<'a, Elim, Context, S, Type>( &'a self, elim: Elim, context: Context ) -> (Type, S)where Elim: Typed<((&'a SpriteKind,), Context), Type, S>,

source

pub fn elim_case_pure<'a, Type>(&self, cases: &'a PureCases<Type>) -> &'a Type

source

pub fn elim_case_weak<'a, 'b, Type>( &'a self, cases: &'b ElimWeak<Self, Type> ) -> &'b Typewhere WeakHead<Pure<Type>, Type>: SynthTyped<(), Type>, &'b ElimWeak<Self, Type>: Typed<((&'a SpriteKind,), ()), &'b Type, ()>,

source§

impl SpriteKind

source

pub fn solid_height(&self) -> Option<f32>

source

pub fn valid_collision_dir( &self, entity_aabb: Aabb<f32>, block_aabb: Aabb<f32>, move_dir: Vec3<f32>, parent: &Block ) -> bool

source

pub fn collectible_id(&self) -> Option<Option<LootSpec<&'static str>>>

What loot table does collecting this sprite draw from? None = block cannot be collected Some(None) = block can be collected, but does not give back an item Some(Some(_)) = block can be collected and gives back an item

source

pub fn is_collectible(&self) -> bool

Can this sprite be picked up to yield an item without a tool?

source

pub fn is_container(&self) -> bool

Is the sprite a container that will emit a mystery item?

source

pub fn mount_offset(&self) -> Option<(Vec3<f32>, Vec3<f32>)>

Get the position and direction to mount this sprite if any.

source

pub fn is_mountable(&self) -> bool

source

pub fn is_controller(&self) -> bool

source

pub fn is_door(&self) -> bool

source

pub fn mine_tool(&self) -> Option<ToolKind>

Which tool (if any) is needed to collect this sprite?

source

pub fn unlock_condition(&self, cfg: Option<SpriteCfg>) -> UnlockKind

Requires this item in the inventory to harvest, uses item_definition_id

source

pub fn content(&self, cfg: Option<SpriteCfg>) -> Option<Content>

Get the Content that this sprite is labelled with.

source

pub fn has_ori(&self) -> bool

Trait Implementations§

source§

impl Clone for SpriteKind

source§

fn clone(&self) -> SpriteKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpriteKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SpriteKind

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SpriteKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<SpriteKind> for Option<SpriteInteractKind>

source§

fn from(sprite_kind: SpriteKind) -> Self

Converts to this type from the input type.
source§

impl FromPrimitive for SpriteKind

source§

fn from_i64(n: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u64(n: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

impl Hash for SpriteKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoEnumIterator for SpriteKind

source§

impl<Target> PackedElim for WeakHead<SpriteKind, Target>where WeakHead<Pure<Target>, Target>: SynthTyped<(), Target>,

§

type Empty = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BarrelCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RoundCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ShortCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MedFlatCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ShortFlatCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BlueFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type PinkFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type PurpleFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RedFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WhiteFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type YellowFlower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Sunflower = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LongGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MediumGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ShortGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Apple = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Mushroom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Liana = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Velorite = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type VeloriteFrag = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Chest = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Pumpkin = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Welwitch = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LingonBerry = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LeafyPlant = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Fern = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DeadBush = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Blueberry = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Ember = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Corn = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WheatYellow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WheatGreen = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Cabbage = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Flax = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Carrot = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Tomato = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Radish = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Coconut = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Turnip = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Window1 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Window2 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Window3 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Window4 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Scarecrow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type StreetLamp = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type StreetLampTall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Door = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bed = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bench = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ChairSingle = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ChairDouble = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CoatRack = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Crate = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DrawerLarge = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DrawerMedium = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DrawerSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonWallDecor = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type HangingBasket = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type HangingSign = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WallLamp = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Planter = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Shelf = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TableSide = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TableDining = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TableDouble = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WardrobeSingle = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WardrobeDouble = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LargeGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Pot = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Stones = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Twigs = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DropGate = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DropGateBottom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GrassSnow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Reed = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Beehive = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LargeCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type VialEmpty = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type PotionMinor = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GrassBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ChestBuried = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Mud = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type FireBowlGround = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CaveMushroom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bowl = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SavannaGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TallSavannaGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RedSavannaGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SavannaBush = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Amethyst = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Ruby = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Sapphire = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Emerald = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Topaz = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Diamond = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type AmethystSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TopazSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DiamondSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RubySmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type EmeraldSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SapphireSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WallLampSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WallSconce = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type StonyCoral = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SoftCoral = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaweedTemperate = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaweedTropical = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GiantKelp = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BullKelp = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WavyAlgae = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaGrapes = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MermaidsFan = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaAnemone = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Seashells = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Seagrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RedAlgae = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type UnderwaterVent = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Lantern = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CraftingBench = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Forge = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Cauldron = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Anvil = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CookingPot = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest0 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest1 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest2 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest3 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest4 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DungeonChest5 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Loom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SpinningWheel = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CrystalHigh = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bloodstone = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Coal = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Cobalt = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Copper = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Iron = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Tin = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Silver = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Gold = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Cotton = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Moonbell = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Pyrebloom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TanningRack = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WildFlax = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CrystalLow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CeilingMushroom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Orb = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type EnsnaringVines = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WitchWindow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SmokeDummy = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bones = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CavernGrassBlueShort = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CavernGrassBlueMedium = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CavernGrassBlueLong = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CavernLillypadBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CavernMycelBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DismantlingBench = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type JungleFern = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type LillyPads = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type JungleLeafyPlant = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type JungleRedGrass = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bomb = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ChristmasOrnament = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ChristmasWreath = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type EnsnaringWeb = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WindowArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MelonCut = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BookshelfArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DecorSetArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SepareArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CushionArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type JugArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TableArabicSmall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TableArabicLarge = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CanapeArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CupboardArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WallTableArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type JugAndBowlArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type OvenArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type FountainArabic = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Hearth = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type ForgeTools = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CliffDecorBlock = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Wood = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bamboo = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Hardwood = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Ironwood = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Frostwood = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Eldwood = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaUrchin = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GlassBarrier = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CoralChest = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorChain = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorBlock = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorWindowHor = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorWindowVer = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorEmblem = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeaDecorPillar = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SeashellLantern = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Rope = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type IceSpike = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Bedroll = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BedrollSnow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BedrollPirate = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Tent = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Grave = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Gravestone = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type PotionDummy = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DoorDark = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MagicalBarrier = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type MagicalSeal = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WallLampWizard = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Candle = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Keyhole = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type KeyDoor = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type CommonLockedChest = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type RepairBench = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Helm = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DoorWide = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BoneKeyhole = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type BoneKeyDoor = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type FireBlock = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type IceCrystal = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GlowIceCrystal = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type OneWayWall = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GlassKeyhole = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type TallCactus = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Sign = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DoorBars = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type KeyholeBars = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type WoodBarricades = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SewerMushroom = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type DiamondLight = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Mine = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type SmithingTable = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Forge0 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type GearWheel0 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type Quench0 = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type IronSpike = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

§

type HotSurface = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr

source§

impl PartialEq<SpriteKind> for SpriteKind

source§

fn eq(&self, other: &SpriteKind) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SpriteKind

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Context, Target> SynthTyped<((SpriteKind,), Context), Target> for WeakHead<SpriteKind, Target>where WeakHead<Pure<Target>, Target>: SynthTyped<(), Target>,

source§

impl<'a> TryFrom<&'a str> for SpriteKind

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(s: &'a str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for SpriteKind

source§

impl Eq for SpriteKind

source§

impl StructuralEq for SpriteKind

source§

impl StructuralPartialEq for SpriteKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for Twhere T: Hash,

§

fn get_hash<H>(&self, hasher: H) -> u64where H: Hasher,

§

impl<T> CallHasher for Twhere T: Hash + ?Sized,

§

default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64where H: Hash + ?Sized, B: BuildHasher,

§

impl<C, M> ConvertSaveload<M> for Cwhere C: Clone + Serialize + DeserializeOwned,

§

type Data = C

(De)Serializable data representation for data type
§

type Error = Infallible

Error may occur during serialization or deserialization of component
§

fn convert_into<F>( &self, _: F ) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>where F: FnMut(Entity) -> Option<M>,

Convert this data type into serializable form (Data) using entity to marker mapping function
§

fn convert_from<F>( data: <C as ConvertSaveload<M>>::Data, _: F ) -> Result<C, <C as ConvertSaveload<M>>::Error>where F: FnMut(M) -> Option<Entity>,

Convert this data from a deserializable form (Data) using entity to marker mapping function
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<Context> SubContext<Context> for Context

source§

fn sub_context(self) -> Context

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> Event for Twhere T: Send + Sync + 'static,

§

impl<T> Resource for Twhere T: Any + Send + Sync,