Enum veloren_common::terrain::sprite::SpriteKind
source · #[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
impl SpriteKind
pub fn elim<'a, Elim, Context, S, Type>( &'a self, elim: Elim, context: Context ) -> (Type, S)where Elim: Typed<((&'a SpriteKind,), Context), Type, S>,
pub fn elim_case_pure<'a, Type>(&self, cases: &'a PureCases<Type>) -> &'a Type
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
impl SpriteKind
pub fn solid_height(&self) -> Option<f32>
pub fn valid_collision_dir( &self, entity_aabb: Aabb<f32>, block_aabb: Aabb<f32>, move_dir: Vec3<f32>, parent: &Block ) -> bool
sourcepub fn collectible_id(&self) -> Option<Option<LootSpec<&'static str>>>
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
sourcepub fn is_collectible(&self) -> bool
pub fn is_collectible(&self) -> bool
Can this sprite be picked up to yield an item without a tool?
sourcepub fn is_container(&self) -> bool
pub fn is_container(&self) -> bool
Is the sprite a container that will emit a mystery item?
sourcepub fn mount_offset(&self) -> Option<(Vec3<f32>, Vec3<f32>)>
pub fn mount_offset(&self) -> Option<(Vec3<f32>, Vec3<f32>)>
Get the position and direction to mount this sprite if any.
pub fn is_mountable(&self) -> bool
pub fn is_controller(&self) -> bool
pub fn is_door(&self) -> bool
sourcepub fn mine_tool(&self) -> Option<ToolKind>
pub fn mine_tool(&self) -> Option<ToolKind>
Which tool (if any) is needed to collect this sprite?
sourcepub fn unlock_condition(&self, cfg: Option<SpriteCfg>) -> UnlockKind
pub fn unlock_condition(&self, cfg: Option<SpriteCfg>) -> UnlockKind
Requires this item in the inventory to harvest, uses item_definition_id
sourcepub fn content(&self, cfg: Option<SpriteCfg>) -> Option<Content>
pub fn content(&self, cfg: Option<SpriteCfg>) -> Option<Content>
Get the Content
that this sprite is labelled with.
pub fn has_ori(&self) -> bool
Trait Implementations§
source§impl Clone for SpriteKind
impl Clone for SpriteKind
source§fn clone(&self) -> SpriteKind
fn clone(&self) -> SpriteKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SpriteKind
impl Debug for SpriteKind
source§impl<'de> Deserialize<'de> for SpriteKind
impl<'de> Deserialize<'de> for SpriteKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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
impl Display for SpriteKind
source§impl From<SpriteKind> for Option<SpriteInteractKind>
impl From<SpriteKind> for Option<SpriteInteractKind>
source§fn from(sprite_kind: SpriteKind) -> Self
fn from(sprite_kind: SpriteKind) -> Self
Converts to this type from the input type.
source§impl FromPrimitive for SpriteKind
impl FromPrimitive for SpriteKind
source§fn from_i64(n: i64) -> Option<Self>
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>
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>
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>
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>
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>
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>
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 moresource§fn from_usize(n: usize) -> Option<Self>
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>
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>
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>
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>
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 moresource§impl Hash for SpriteKind
impl Hash for SpriteKind
source§impl IntoEnumIterator for SpriteKind
impl IntoEnumIterator for SpriteKind
type Iterator = SpriteKindIter
fn iter() -> SpriteKindIter ⓘ
source§impl<Target> PackedElim for WeakHead<SpriteKind, Target>where
WeakHead<Pure<Target>, Target>: SynthTyped<(), Target>,
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
impl PartialEq<SpriteKind> for SpriteKind
source§fn eq(&self, other: &SpriteKind) -> bool
fn eq(&self, other: &SpriteKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpriteKind
impl Serialize for SpriteKind
source§impl<Context, Target> SynthTyped<((SpriteKind,), Context), Target> for WeakHead<SpriteKind, Target>where
WeakHead<Pure<Target>, Target>: SynthTyped<(), Target>,
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
impl<'a> TryFrom<&'a str> for SpriteKind
impl Copy for SpriteKind
impl Eq for SpriteKind
impl StructuralEq for SpriteKind
impl StructuralPartialEq for SpriteKind
Auto Trait Implementations§
impl RefUnwindSafe for SpriteKind
impl Send for SpriteKind
impl Sync for SpriteKind
impl Unpin for SpriteKind
impl UnwindSafe for SpriteKind
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
§impl<C, M> ConvertSaveload<M> for Cwhere
C: Clone + Serialize + DeserializeOwned,
impl<C, M> ConvertSaveload<M> for Cwhere C: Clone + Serialize + DeserializeOwned,
§type Error = Infallible
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>,
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>,
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,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
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,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.