Skip to main content

Schema

Trait Schema 

Source
pub trait Schema: Sized {
Show 13 methods // Required methods fn shape() -> Shape; fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Self>; fn write(&self) -> Value; // Provided methods fn absent() -> Option<Self> { ... } fn skip(&self) -> bool { ... } fn encode(&self, w: &mut Writer) { ... } fn decode(d: &mut Decoder<'_>) -> Option<Self> { ... } fn pack(&self, p: &mut Packer) { ... } fn unpack(u: &mut Unpacker<'_>) -> Option<Self> { ... } fn pack_list(items: &[Self], p: &mut Packer) { ... } fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<Self>> { ... } fn encode_list(items: &[Self], w: &mut Writer) { ... } fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<Self>> { ... }
}
Expand description

#[derive(Schema)]: a type read and written as Yog Data (stores, packets, frames). A Yog Data format.

Required Methods§

Source

fn shape() -> Shape

What the format looks like.

Source

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Self>

Reads v. Problems go to cx at its current path; None when the value couldn’t be read (the problem is in cx).

Source

fn write(&self) -> Value

The value, as the format writes it.

Provided Methods§

Source

fn absent() -> Option<Self>

The value of a field that isn’t there — None: the field is required.

Source

fn skip(&self) -> bool

Whether a struct leaves this field out when writing it.

Source

fn encode(&self, w: &mut Writer)

Writes itself in the binary form, straight — Schema::write’s value encoded, unless the type knows better (derived ones do).

Source

fn decode(d: &mut Decoder<'_>) -> Option<Self>

Reads itself from the binary form, straight; None when it isn’t what Schema::encode writes — then read_bytes reads the slow way, which says what’s wrong. Through a value unless the type knows better (derived ones do).

Source

fn pack(&self, p: &mut Packer)

Packs itself into a frame (crate::frame): its binary form as bytes, unless the type packs itself (derived ones and plain types do).

Source

fn unpack(u: &mut Unpacker<'_>) -> Option<Self>

Reads itself out of a frame; None if the bytes aren’t what Schema::pack writes.

Source

fn pack_list(items: &[Self], p: &mut Packer)

A list of these packed: a count, then each one (floats raw).

Source

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<Self>>

A list of these out of a frame.

Source

fn encode_list(items: &[Self], w: &mut Writer)

A list of these written straight (numbers pack theirs).

Source

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<Self>>

A list of these read straight.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Schema for ()

Nothing: what a call answers when it only says it’s done.

Source§

fn shape() -> Shape

Source§

fn read(_v: &ValueRef<'_>, _cx: &mut Reader<'_>) -> Option<()>

Source§

fn write(&self) -> Value

Source§

impl Schema for AdvancementDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<AdvancementDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<AdvancementDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<AdvancementDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for Animation

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Animation>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Animation>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Animation>

Source§

fn write(&self) -> Value

Source§

impl Schema for Arc<str>

A string shared without copying.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Arc<str>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Arc<str>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Arc<str>>

Source§

impl Schema for ArmorMaterialDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ArmorMaterialDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ArmorMaterialDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for ArmorProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ArmorProps>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ArmorProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ArmorProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for Axis

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Axis>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Axis>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Axis>

Source§

impl Schema for BlockFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<BlockFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<BlockFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BlockFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for BlockItemProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<BlockItemProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BlockItemProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for BlockKind

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<BlockKind>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<BlockKind>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BlockKind>

Source§

fn write(&self) -> Value

Source§

impl Schema for BlockProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<BlockProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BlockProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for BlockShape

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BlockShape>

Source§

fn write(&self) -> Value

Source§

impl Schema for Box<str>

A string that won’t change: a pointer and a length, no spare capacity (String’s third word) — what big tables of names keep.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Box<str>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Box<str>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Box<str>>

Source§

impl Schema for Brewing

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Brewing>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Brewing>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Brewing>

Source§

fn write(&self) -> Value

Source§

impl Schema for Built

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Built>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Built>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Built>

Source§

fn write(&self) -> Value

Source§

impl Schema for Caves

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Caves>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Caves>

Source§

fn write(&self) -> Value

Source§

impl Schema for CharGlyph

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<CharGlyph>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<CharGlyph>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<CharGlyph>

Source§

fn write(&self) -> Value

Source§

impl Schema for Common

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Common>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Common>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Common>

Source§

fn write(&self) -> Value

Source§

impl Schema for Connect

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Connect>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Connect>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Connect>

Source§

fn write(&self) -> Value

Source§

impl Schema for Cooking

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Cooking>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Cooking>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Cooking>

Source§

fn write(&self) -> Value

Source§

impl Schema for Cow<'static, str>

Text that may be a constant: borrowed where it’s written, owned once read.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Cow<'static, str>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Cow<'static, str>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Cow<'static, str>>

Source§

impl Schema for CriterionDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<CriterionDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<CriterionDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<CriterionDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for Custom

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Custom>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Custom>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Custom>

Source§

fn write(&self) -> Value

Source§

impl Schema for DamageTypeDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<DamageTypeDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<DamageTypeDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DamageTypeDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for Def

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Def>

Source§

fn write(&self) -> Value

Source§

impl Schema for DevSection

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<DevSection>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<DevSection>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DevSection>

Source§

fn write(&self) -> Value

Source§

impl Schema for DimensionDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<DimensionDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<DimensionDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DimensionDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for DimensionTypeProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<DimensionTypeProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DimensionTypeProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for Display

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Display>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Display>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Display>

Source§

fn write(&self) -> Value

Source§

impl Schema for DropCount

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DropCount>

Source§

fn write(&self) -> Value

Source§

impl Schema for DropItem

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<DropItem>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<DropItem>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<DropItem>

Source§

fn write(&self) -> Value

Source§

impl Schema for Drops

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Drops>

Source§

fn write(&self) -> Value

Source§

impl Schema for Element

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Element>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Element>

Source§

fn write(&self) -> Value

Source§

impl Schema for ElementRotation

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ElementRotation>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ElementRotation>

Source§

fn write(&self) -> Value

Source§

impl Schema for EntryObject

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<EntryObject>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<EntryObject>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<EntryObject>

Source§

fn write(&self) -> Value

Source§

impl Schema for ExternalSection

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ExternalSection>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ExternalSection>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ExternalSection>

Source§

fn write(&self) -> Value

Source§

impl Schema for Face

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Face>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Face>

Source§

fn write(&self) -> Value

Source§

impl Schema for Faces

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Faces>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Faces>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Faces>

Source§

fn write(&self) -> Value

Source§

impl Schema for Fill

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Fill>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Fill>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Fill>

Source§

fn write(&self) -> Value

Source§

impl Schema for Fit

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Fit>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Fit>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Fit>

Source§

fn write(&self) -> Value

Source§

impl Schema for Fluid

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Fluid>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Fluid>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Fluid>

Source§

fn write(&self) -> Value

Source§

impl Schema for Font

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Font>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Font>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Font>

Source§

fn write(&self) -> Value

Source§

impl Schema for Food

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Food>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Food>

Source§

fn write(&self) -> Value

Source§

impl Schema for Frame

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Frame>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Frame>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Frame>

Source§

fn write(&self) -> Value

Source§

impl Schema for Glyph

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Glyph>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Glyph>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Glyph>

Source§

fn write(&self) -> Value

Source§

impl Schema for GlyphClass

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<GlyphClass>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<GlyphClass>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<GlyphClass>

Source§

fn write(&self) -> Value

Source§

impl Schema for GuiLight

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<GuiLight>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<GuiLight>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<GuiLight>

Source§

impl Schema for HangsProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<HangsProps>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<HangsProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<HangsProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for HeightShape

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<HeightShape>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<HeightShape>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<HeightShape>

Source§

impl Schema for Image

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Image>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Image>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Image>

Source§

fn write(&self) -> Value

Source§

impl Schema for ImageOp

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ImageOp>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ImageOp>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ImageOp>

Source§

fn write(&self) -> Value

Source§

impl Schema for ItemFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ItemFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ItemFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ItemFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for ItemProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ItemProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ItemProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for Kern

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Kern>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Kern>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Kern>

Source§

fn write(&self) -> Value

Source§

impl Schema for Kind

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Kind>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Kind>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Kind>

Source§

impl Schema for KindModel

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<KindModel>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<KindModel>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<KindModel>

Source§

fn write(&self) -> Value

Source§

impl Schema for KindPart

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<KindPart>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<KindPart>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<KindPart>

Source§

fn write(&self) -> Value

Source§

impl Schema for Ligature

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Ligature>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Ligature>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Ligature>

Source§

fn write(&self) -> Value

Source§

impl Schema for LootTableDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<LootTableDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<LootTableDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<LootTableDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for Machine

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Machine>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Machine>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Machine>

Source§

fn write(&self) -> Value

Source§

impl Schema for ManifestFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ManifestFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ManifestFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ManifestFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for Mask

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Mask>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Mask>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Mask>

Source§

fn write(&self) -> Value

Source§

impl Schema for MaskOp

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<MaskOp>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<MaskOp>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<MaskOp>

Source§

fn write(&self) -> Value

Source§

impl Schema for MaterialFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<MaterialFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<MaterialFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<MaterialFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for Mix

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Mix>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Mix>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Mix>

Source§

fn write(&self) -> Value

Source§

impl Schema for ModSection

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ModSection>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ModSection>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ModSection>

Source§

fn write(&self) -> Value

Source§

impl Schema for Model

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Model>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Model>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Model>

Source§

fn write(&self) -> Value

Source§

impl Schema for Montage

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Montage>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Montage>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Montage>

Source§

fn write(&self) -> Value

Source§

impl Schema for NoiseLayer

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<NoiseLayer>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<NoiseLayer>

Source§

fn write(&self) -> Value

Source§

impl Schema for Op

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Op>

Source§

fn write(&self) -> Value

Source§

impl Schema for OreDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<OreDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<OreDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for OreHeight

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<OreHeight>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<OreHeight>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<OreHeight>

Source§

fn write(&self) -> Value

Source§

impl Schema for OreTarget

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<OreTarget>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<OreTarget>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<OreTarget>

Source§

fn write(&self) -> Value

Source§

impl Schema for PathBuf

A file’s path, as text (a path that isn’t Unicode loses what isn’t).

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<PathBuf>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<PathBuf>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<PathBuf>

Source§

impl Schema for PictureClip

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<PictureClip>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<PictureClip>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<PictureClip>

Source§

fn write(&self) -> Value

Source§

impl Schema for PictureTrack

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<PictureTrack>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<PictureTrack>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<PictureTrack>

Source§

fn write(&self) -> Value

Source§

impl Schema for PotionProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<PotionProps>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<PotionProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<PotionProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for RecipeFile

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<RecipeFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for Register

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Register>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Register>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Register>

Source§

impl Schema for RenderLayer

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<RenderLayer>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<RenderLayer>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<RenderLayer>

Source§

impl Schema for Rotation

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Rotation>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Rotation>

Source§

fn write(&self) -> Value

Source§

impl Schema for Seg

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Seg>

Source§

fn write(&self) -> Value

Source§

impl Schema for Shaped

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Shaped>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Shaped>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Shaped>

Source§

fn write(&self) -> Value

Source§

impl Schema for Shapeless

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Shapeless>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Shapeless>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Shapeless>

Source§

fn write(&self) -> Value

Source§

impl Schema for Smithing

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Smithing>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Smithing>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Smithing>

Source§

fn write(&self) -> Value

Source§

impl Schema for SoundClip

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<SoundClip>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<SoundClip>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<SoundClip>

Source§

fn write(&self) -> Value

Source§

impl Schema for SoundEffect

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<SoundEffect>

Source§

fn write(&self) -> Value

Source§

impl Schema for SoundFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<SoundFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<SoundFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<SoundFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for States

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<States>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<States>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<States>

Source§

fn write(&self) -> Value

Source§

impl Schema for Stonecutting

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Stonecutting>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Stonecutting>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Stonecutting>

Source§

fn write(&self) -> Value

Source§

impl Schema for String

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<String>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<String>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<String>

Source§

impl Schema for Stroke

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Stroke>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Stroke>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Stroke>

Source§

fn write(&self) -> Value

Source§

impl Schema for SurfaceLayer

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<SurfaceLayer>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<SurfaceLayer>

Source§

fn write(&self) -> Value

Source§

impl Schema for TableDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TableDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TableDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TableDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for TagDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TagDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TagDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TagDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for Terrain

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Terrain>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Terrain>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Terrain>

Source§

fn write(&self) -> Value

Source§

impl Schema for TerrainOre

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TerrainOre>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TerrainOre>

Source§

fn write(&self) -> Value

Source§

impl Schema for Texture

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Texture>

Source§

fn write(&self) -> Value

Source§

impl Schema for TextureFile

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TextureFile>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TextureFile>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TextureFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for ToolMaterialDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ToolMaterialDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ToolMaterialDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for ToolProps

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<ToolProps>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<ToolProps>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<ToolProps>

Source§

fn write(&self) -> Value

Source§

impl Schema for Track

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Track>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Track>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Track>

Source§

fn write(&self) -> Value

Source§

impl Schema for Transform

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Transform>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Transform>

Source§

fn write(&self) -> Value

Source§

impl Schema for Transition

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Transition>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Transition>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Transition>

Source§

fn write(&self) -> Value

Source§

impl Schema for TreeDef

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TreeDef>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TreeDef>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TreeDef>

Source§

fn write(&self) -> Value

Source§

impl Schema for TreeLeaves

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TreeLeaves>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TreeLeaves>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TreeLeaves>

Source§

fn write(&self) -> Value

Source§

impl Schema for TreeTrunk

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<TreeTrunk>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<TreeTrunk>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TreeTrunk>

Source§

fn write(&self) -> Value

Source§

impl Schema for TriggeredBy

Source§

fn shape() -> Shape

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<TriggeredBy>

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<TriggeredBy>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<TriggeredBy>

Source§

impl Schema for Variant

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Variant>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Variant>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Variant>

Source§

fn write(&self) -> Value

Source§

impl Schema for Video

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<Video>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<Video>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Video>

Source§

fn write(&self) -> Value

Source§

impl Schema for WeightedBlock

Source§

fn encode(&self, __yog_w: &mut Writer)

Source§

fn decode(__yog_d: &mut Decoder<'_>) -> Option<WeightedBlock>

Source§

fn pack(&self, __yog_p: &mut Packer)

Source§

fn unpack(__yog_u: &mut Unpacker<'_>) -> Option<WeightedBlock>

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<WeightedBlock>

Source§

fn write(&self) -> Value

Source§

impl Schema for YresFile

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<YresFile>

Source§

fn write(&self) -> Value

Source§

impl Schema for bool

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<bool>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<bool>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<bool>

Source§

impl Schema for f32

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<f32>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<f32>

Source§

fn encode_list(items: &[f32], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<f32>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<f32>

Source§

fn pack_list(items: &[f32], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<f32>>

Source§

impl Schema for f64

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<f64>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<f64>

Source§

fn encode_list(items: &[f64], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<f64>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<f64>

Source§

fn pack_list(items: &[f64], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<f64>>

Source§

impl Schema for i8

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<i8>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<i8>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<i8>

Source§

fn pack_list(items: &[i8], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<i8>>

Source§

fn encode_list(items: &[i8], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<i8>>

Source§

impl Schema for i16

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<i16>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<i16>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<i16>

Source§

fn pack_list(items: &[i16], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<i16>>

Source§

fn encode_list(items: &[i16], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<i16>>

Source§

impl Schema for i32

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<i32>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<i32>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<i32>

Source§

fn pack_list(items: &[i32], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<i32>>

Source§

fn encode_list(items: &[i32], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<i32>>

Source§

impl Schema for i64

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<i64>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<i64>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<i64>

Source§

fn pack_list(items: &[i64], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<i64>>

Source§

fn encode_list(items: &[i64], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<i64>>

Source§

impl Schema for u8

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<u8>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<u8>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<u8>

Source§

fn pack_list(items: &[u8], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<u8>>

Source§

fn encode_list(items: &[u8], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<u8>>

Source§

impl Schema for u16

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<u16>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<u16>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<u16>

Source§

fn pack_list(items: &[u16], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<u16>>

Source§

fn encode_list(items: &[u16], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<u16>>

Source§

impl Schema for u32

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<u32>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<u32>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<u32>

Source§

fn pack_list(items: &[u32], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<u32>>

Source§

fn encode_list(items: &[u32], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<u32>>

Source§

impl Schema for u64

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<u64>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<u64>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<u64>

Source§

fn pack_list(items: &[u64], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<u64>>

Source§

fn encode_list(items: &[u64], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<u64>>

Source§

impl Schema for usize

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<usize>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<usize>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<usize>

Source§

fn pack_list(items: &[usize], p: &mut Packer)

Source§

fn unpack_list(u: &mut Unpacker<'_>) -> Option<Vec<usize>>

Source§

fn encode_list(items: &[usize], w: &mut Writer)

Source§

fn decode_list(d: &mut Decoder<'_>) -> Option<Vec<usize>>

Source§

impl<A, B, C, D> Schema for (A, B, C, D)
where A: Schema, B: Schema, C: Schema, D: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<(A, B, C, D)>

Source§

fn write(&self) -> Value

Source§

impl<A, B, C> Schema for (A, B, C)
where A: Schema, B: Schema, C: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<(A, B, C)>

Source§

fn write(&self) -> Value

Source§

impl<A, B> Schema for (A, B)
where A: Schema, B: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<(A, B)>

Source§

fn write(&self) -> Value

Source§

impl<T, E> Schema for Result<T, E>
where T: Schema, E: Schema,

What may fail: { "ok": T } or { "err": E }.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Result<T, E>>

Source§

fn write(&self) -> Value

Source§

impl<T, const N: usize> Schema for [T; N]
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<[T; N]>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<[T; N]>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<[T; N]>

Source§

impl<T> Schema for BTreeMap<String, T>
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BTreeMap<String, T>>

Source§

fn write(&self) -> Value

Source§

impl<T> Schema for BTreeSet<T>
where T: Schema + Ord + Clone,

A set: a list, in order, each once.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<BTreeSet<T>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<BTreeSet<T>>

Source§

impl<T> Schema for Box<T>
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Box<T>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Box<T>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Box<T>>

Source§

fn absent() -> Option<Box<T>>

Source§

fn skip(&self) -> bool

Source§

impl<T> Schema for Box<[T]>
where T: Schema,

A list that won’t change: no spare capacity.

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Box<[T]>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Box<[T]>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Box<[T]>>

Source§

impl<T> Schema for HashMap<String, T>
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<HashMap<String, T>>

Source§

fn write(&self) -> Value

Source§

impl<T> Schema for Option<T>
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Option<T>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Option<T>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Option<T>>

Source§

fn absent() -> Option<Option<T>>

Source§

fn skip(&self) -> bool

Source§

impl<T> Schema for Vec<T>
where T: Schema,

Source§

fn shape() -> Shape

Source§

fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<Vec<T>>

Source§

fn write(&self) -> Value

Source§

fn encode(&self, w: &mut Writer)

Source§

fn decode(d: &mut Decoder<'_>) -> Option<Vec<T>>

Source§

fn pack(&self, p: &mut Packer)

Source§

fn unpack(u: &mut Unpacker<'_>) -> Option<Vec<T>>

Implementors§

Source§

impl Schema for AboveTop

Source§

impl Schema for Actionbar

Source§

impl Schema for ActionbarJson

Source§

impl Schema for Add

Source§

impl Schema for AddEffect

Source§

impl Schema for AddPlayer

Source§

impl Schema for AddVelocity

Source§

impl Schema for AddXp

Source§

impl Schema for AddressKind

Source§

impl Schema for Advancement

Source§

impl Schema for AdvancementDone

Source§

impl Schema for AnchorKind

Source§

impl Schema for AnimFile

Source§

impl Schema for Answer

Source§

impl Schema for AnyRefOrTag

Source§

impl Schema for Area

Source§

impl Schema for Armor

Source§

impl Schema for ArmorDefense

Source§

impl Schema for ArmorMaterial

Source§

impl Schema for ArmorPiece

Source§

impl Schema for ArmorSlot

Source§

impl Schema for Atlas

Source§

impl Schema for Atom

Text everywhere but in a frame, which carries its number.

Source§

impl Schema for yog_api::client::control::Attack

Source§

impl Schema for yog_api::player::action::Attack

Source§

impl Schema for AttributeBase

Source§

impl Schema for AttributeDef

Source§

impl Schema for yog_api::client::AttributeValue

Source§

impl Schema for yog_api::entity::AttributeValue

Source§

impl Schema for Binding

Source§

impl Schema for BiomeFeature

Source§

impl Schema for Blend

Source§

impl Schema for yog_api::event::content::Block

Source§

impl Schema for yog_api::item::Block

Source§

impl Schema for BlockArea

Source§

impl Schema for BlockDef

Source§

impl Schema for BlockHit

Source§

impl Schema for BlockInfo

Source§

impl Schema for yog_api::core::BlockKind

Source§

impl Schema for BlockPos

Source§

impl Schema for BlockProperty

Source§

impl Schema for BlockScope

Source§

impl Schema for Body

Source§

impl Schema for BodyTrack

Source§

impl Schema for BodyTrackType

Source§

impl Schema for Bone

Source§

impl Schema for BoneDef

Source§

impl Schema for BoneOp

Source§

impl Schema for Bonemeal

Source§

impl Schema for Book

Source§

impl Schema for BookCategory

Source§

impl Schema for BookEntry

Source§

impl Schema for BookPage

Source§

impl Schema for Break

Source§

impl Schema for Brew

Source§

impl Schema for Broadcast

Source§

impl Schema for yog_api::event::jvm::Call

Source§

impl Schema for yog_api::event::nanite::Call

Source§

impl Schema for Camera

Source§

impl Schema for CameraFrame

Source§

impl Schema for CameraOut

Source§

impl Schema for Capture

Source§

impl Schema for CategorizedBinding

Source§

impl Schema for Chat

Source§

impl Schema for ClassMap

Source§

impl Schema for ClearEffects

Source§

impl Schema for Click

Source§

impl Schema for ClickMode

Source§

impl Schema for ClipDef

Source§

impl Schema for Clock

Source§

impl Schema for yog_api::client::ui::Close

Source§

impl Schema for yog_api::event::container::Close

Source§

impl Schema for yog_api::event::ui::Close

Source§

impl Schema for yog_api::event::video::Close

Source§

impl Schema for yog_data::schema::typed_values::Color

Source§

impl Schema for yog_api::body::Color

In Yog Data, a color value: #RRGGBB/#AARRGGBB in text.

Source§

impl Schema for CommandSpec

Source§

impl Schema for ComponentInfo

Source§

impl Schema for Content

Source§

impl Schema for yog_api::event::container::machine::Craft

Source§

impl Schema for yog_api::player::action::Craft

Source§

impl Schema for Create

Source§

impl Schema for CubeDef

Source§

impl Schema for CustomPage

Source§

impl Schema for Cutscene

Source§

impl Schema for yog_api::entity::combat::Damage

Source§

impl Schema for yog_api::entity::Damage

Source§

impl Schema for Data

Source§

impl Schema for DataValue

Source§

impl Schema for yog_api::entity::life::Death

Source§

impl Schema for yog_api::player::life::Death

Source§

impl Schema for Declaration

Source§

impl Schema for Declare

Source§

impl Schema for yog_api::event::command::Declared

Source§

impl Schema for yog_api::event::key_binding::Declared

Source§

impl Schema for yog_api::event::menu::Declared

Source§

impl Schema for yog_api::event::mirror::Declared

Source§

impl Schema for Describe

Source§

impl Schema for Descriptor

Source§

impl Schema for Destroy

Source§

impl Schema for Diagnostic

Source§

impl Schema for DigSpeed

Source§

impl Schema for DigSpeeds

Source§

impl Schema for Dimension

Source§

impl Schema for Dir

Source§

impl Schema for Dismount

Source§

impl Schema for Done

Source§

impl Schema for Draw

Source§

impl Schema for Drive

Source§

impl Schema for DropLoot

Source§

impl Schema for Ease

Source§

impl Schema for EffectCategory

Source§

impl Schema for EffectDef

Source§

impl Schema for EffectModifier

Source§

impl Schema for Entities

Source§

impl Schema for EntitiesInBox

Source§

impl Schema for EntityCount

Source§

impl Schema for EntityData

Source§

impl Schema for EntityDef

Source§

impl Schema for EntityInfo

Source§

impl Schema for EntityKind

Source§

impl Schema for EntityStack

Source§

impl Schema for Explode

Source§

impl Schema for Explosion

Source§

impl Schema for yog_api::Face

Source§

impl Schema for Facing

Source§

impl Schema for FieldSpec

Source§

impl Schema for FillRegion

Source§

impl Schema for Find

Source§

impl Schema for yog_api::event::content::Font

Source§

impl Schema for FoodDef

Source§

impl Schema for yog_api::event::video::Frame

Source§

impl Schema for yog_api::body::Frame

Source§

impl Schema for Frames

Source§

impl Schema for GameTool

Source§

impl Schema for GeneratedChunk

Source§

impl Schema for yog_api::event::nanite::Get

Source§

impl Schema for yog_api::scoreboard::Get

Source§

impl Schema for GetBlock

Source§

impl Schema for GiveItem

Source§

impl Schema for Grant

Source§

impl Schema for Hanging

Source§

impl Schema for yog_api::event::content::Hangs

Source§

impl Schema for yog_api::content::Hangs

Source§

impl Schema for HasBlock

Source§

impl Schema for HasEntity

Source§

impl Schema for HasItem

Source§

impl Schema for Health

Source§

impl Schema for HeldItem

Source§

impl Schema for HeldItemNbt

Source§

impl Schema for Hud

Source§

impl Schema for yog_data::schema::typed_values::Image

Source§

impl Schema for yog_api::block::Info

Source§

impl Schema for yog_api::entity::Info

Source§

impl Schema for yog_api::player::Info

Source§

impl Schema for Inject

Source§

impl Schema for Injected

Source§

impl Schema for Input

Source§

impl Schema for Insert

Source§

impl Schema for Interact

Source§

impl Schema for yog_api::client::local::Inventory

Source§

impl Schema for yog_api::event::content::Inventory

Source§

impl Schema for yog_api::player::Inventory

Source§

impl Schema for InventoryDef

Source§

impl Schema for yog_api::block::InventorySlot

Source§

impl Schema for yog_api::event::content::InventorySlot

Source§

impl Schema for IsRaining

Source§

impl Schema for IsThundering

Source§

impl Schema for Item

Source§

impl Schema for ItemDef

Source§

impl Schema for ItemLooks

Source§

impl Schema for ItemTint

Source§

impl Schema for Items

Source§

impl Schema for Join

Source§

impl Schema for Kept

Source§

impl Schema for yog_api::client::input::Key

Source§

impl Schema for yog_api::event::mirror::Key

Source§

impl Schema for KeyBindingSpec

Source§

impl Schema for KeyDef

Source§

impl Schema for KeyDown

Source§

impl Schema for KeyName

Source§

impl Schema for Keys

Source§

impl Schema for Kick

Source§

impl Schema for Kill

Source§

impl Schema for LayoutPart

Source§

impl Schema for Leave

Source§

impl Schema for LevelTag

Source§

impl Schema for Lifetime

Source§

impl Schema for List

Source§

impl Schema for LocalState

Source§

impl Schema for Look

Source§

impl Schema for LookModels

Source§

impl Schema for Loop

Source§

impl Schema for Loot

Source§

impl Schema for LootAdd

Source§

impl Schema for LootModifier

Source§

impl Schema for LootScale

Source§

impl Schema for LootStack

Source§

impl Schema for yog_api::event::content::Machine

Source§

impl Schema for yog_api::inventory::Machine

Source§

impl Schema for MachinePlace

Source§

impl Schema for Mappings

Source§

impl Schema for MemberMap

Source§

impl Schema for MenuEntry

Source§

impl Schema for Mesh

Source§

impl Schema for yog_api::client::local::Message

Source§

impl Schema for yog_api::player::chat::Message

Source§

impl Schema for Mine

Source§

impl Schema for MirrorSpec

Source§

impl Schema for ModInfo

Source§

impl Schema for ModLoaded

Source§

impl Schema for Mode

Source§

impl Schema for ModelFile

Source§

impl Schema for ModifierOperation

Source§

impl Schema for Mods

Source§

impl Schema for Mount

Source§

impl Schema for Move

Source§

impl Schema for Nanites

Source§

impl Schema for yog_api::block::Nbt

Source§

impl Schema for yog_api::entity::Nbt

Source§

impl Schema for NearbyEntity

Source§

impl Schema for OffhandItemNbt

Source§

impl Schema for Online

Source§

impl Schema for yog_api::client::ui::Open

Source§

impl Schema for yog_api::event::container::Open

Source§

impl Schema for yog_api::event::ui::Open

Source§

impl Schema for yog_api::event::video::Open

Source§

impl Schema for OpenWithFlags

Source§

impl Schema for Ops

Source§

impl Schema for yog_api::ClientPacketEvent

Source§

impl Schema for yog_api::PacketEvent

Source§

impl Schema for Page

Source§

impl Schema for PageElement

Source§

impl Schema for PageProperty

Source§

impl Schema for PageType

Source§

impl Schema for Particle

Source§

impl Schema for ParticleDef

Source§

impl Schema for ParticleOptions

Source§

impl Schema for ParticleRender

Source§

impl Schema for Passengers

Source§

impl Schema for Path

A path as its steps.

Source§

impl Schema for Pickup

Source§

impl Schema for yog_api::item::Picture

Source§

impl Schema for yog_api::video::Picture

Source§

impl Schema for yog_api::block::Place

Source§

impl Schema for yog_api::client::control::Place

Source§

impl Schema for yog_api::event::mirror::Place

Source§

impl Schema for PlaceBlockFromSlot

Source§

impl Schema for PlaceFeature

Source§

impl Schema for PlacedBlock

Source§

impl Schema for Placement

Source§

impl Schema for PlatformMods

Source§

impl Schema for yog_api::sound::Play

Source§

impl Schema for yog_api::event::video::Play

Source§

impl Schema for PlaySound

Source§

impl Schema for PlayToPlayer

Source§

impl Schema for PlayerInfo

Source§

impl Schema for Png

Source§

impl Schema for PngBytes

Source§

impl Schema for Point

Source§

impl Schema for Position

Source§

impl Schema for PotionDef

Source§

impl Schema for PotionEffect

Source§

impl Schema for PourFluid

Source§

impl Schema for ProjectileHit

Source§

impl Schema for PropInfo

Source§

impl Schema for PropKind

Source§

impl Schema for Provide

Source§

impl Schema for Rate

Source§

impl Schema for Raycast

Source§

impl Schema for RaycastBlock

Source§

impl Schema for RaycastEntity

Source§

impl Schema for Recipe

Source§

impl Schema for RecipeKindDef

Source§

impl Schema for RecipeLayout

Source§

impl Schema for Record

Source§

impl Schema for Rect

Source§

impl Schema for RedstonePower

Source§

impl Schema for RedstoneSignal

Source§

impl Schema for Ref

Source§

impl Schema for yog_api::event::content::Register

Source§

impl Schema for yog_api::client::control::Release

Source§

impl Schema for yog_api::event::mirror::Release

Source§

impl Schema for yog_api::event::nanite::Release

Source§

impl Schema for Remove

Source§

impl Schema for RemoveEffect

Source§

impl Schema for RemovePlayer

Source§

impl Schema for Render

Source§

impl Schema for Request

Source§

impl Schema for Res

Source§

impl Schema for Resolve

Source§

impl Schema for Respawn

Source§

impl Schema for yog_api::entity::Rotation

Source§

impl Schema for yog_api::Rotation

Source§

impl Schema for Run

Source§

impl Schema for Saving

Source§

impl Schema for Scan

Source§

impl Schema for ScanRegion

Source§

impl Schema for Scope

Source§

impl Schema for ScreenSlot

Source§

impl Schema for ScreenSlots

Source§

impl Schema for Scroll

Source§

impl Schema for Seek

Source§

impl Schema for yog_data::value::Seg

Source§

impl Schema for SelectSlot

Source§

impl Schema for Send

Source§

impl Schema for SendToPlayer

Source§

impl Schema for SendToServer

Source§

impl Schema for yog_api::event::nanite::Set

Source§

impl Schema for yog_api::scoreboard::Set

Source§

impl Schema for SetAttributeBase

Source§

impl Schema for SetBlock

Source§

impl Schema for SetBlockTint

Source§

impl Schema for SetColor

Source§

impl Schema for SetData

Source§

impl Schema for yog_api::client::SetDimensions

Source§

impl Schema for yog_api::entity::SetDimensions

Source§

impl Schema for SetEntityStack

Source§

impl Schema for SetFallDistance

Source§

impl Schema for SetFireTicks

Source§

impl Schema for SetGamemode

Source§

impl Schema for SetHealth

Source§

impl Schema for SetHeldItemNbt

Source§

impl Schema for SetInventorySlot

Source§

impl Schema for SetItemCooldown

Source§

impl Schema for SetMayFly

Source§

impl Schema for yog_api::block::SetNbt

Source§

impl Schema for yog_api::entity::SetNbt

Source§

impl Schema for SetOffhandItemNbt

Source§

impl Schema for SetProgress

Source§

impl Schema for SetRedstoneOutput

Source§

impl Schema for SetSlot

Source§

impl Schema for SetSlotItem

Source§

impl Schema for SetState

Source§

impl Schema for SetThunder

Source§

impl Schema for SetTime

Source§

impl Schema for SetTitle

Source§

impl Schema for SetVelocity

Source§

impl Schema for SetVisible

Source§

impl Schema for SetWeather

Source§

impl Schema for Severity

Source§

impl Schema for Shown

Source§

impl Schema for SlotItem

Source§

impl Schema for SlotLayout

Source§

impl Schema for SlotSpec

Source§

impl Schema for SlotStack

Source§

impl Schema for SoundGroup

Source§

impl Schema for yog_api::entity::life::Spawn

Source§

impl Schema for yog_api::entity::Spawn

Source§

impl Schema for SpawnItem

Source§

impl Schema for SpawnParticles

Source§

impl Schema for Stack

Source§

impl Schema for Started

Source§

impl Schema for StartupGrant

Source§

impl Schema for yog_api::block::State

Source§

impl Schema for yog_api::client::local::State

Source§

impl Schema for StopMining

Source§

impl Schema for StopSound

Source§

impl Schema for Stopping

Source§

impl Schema for Target

Source§

impl Schema for yog_api::entity::Teleport

Source§

impl Schema for yog_api::player::Teleport

Source§

impl Schema for yog_api::entity::TeleportToDim

Source§

impl Schema for yog_api::player::TeleportToDim

Source§

impl Schema for Tellraw

Source§

impl Schema for yog_api::item::Text

Source§

impl Schema for yog_data::schema::typed_values::Text

Source§

impl Schema for yog_api::client::game::Tick

Source§

impl Schema for yog_api::entity::game::Tick

Source§

impl Schema for yog_api::event::server::game::Tick

Source§

impl Schema for Time

Source§

impl Schema for Title

Source§

impl Schema for Tool

Source§

impl Schema for ToolItem

Source§

impl Schema for ToolLadder

Source§

impl Schema for ToolLevel

Source§

impl Schema for ToolMaterial

Source§

impl Schema for Tooltip

Source§

impl Schema for Touch

Source§

impl Schema for TracksDef

Source§

impl Schema for Translate

Source§

impl Schema for Travel

Source§

impl Schema for TravelFrame

Source§

impl Schema for Ui

Source§

impl Schema for Use

Source§

impl Schema for yog_api::block::UseItem

Source§

impl Schema for yog_api::client::control::UseItem

Source§

impl Schema for yog_api::player::action::UseItem

Source§

impl Schema for Value

Source§

impl Schema for ValueType

Source§

impl Schema for Vec3

Source§

impl Schema for Vehicle

Source§

impl Schema for Velocity

Source§

impl Schema for VideoDef

Source§

impl Schema for World

Source§

impl Schema for WorldDir

Source§

impl Schema for Write

Source§

impl Schema for YogDimensionDef

Source§

impl Schema for YogDimensionTypeDef

Source§

impl<K> Schema for Id<K>
where K: Kind,

Source§

impl<K> Schema for OneOrTag<K>
where K: Kind,

Source§

impl<K> Schema for TagId<K>
where K: Kind,

Source§

impl<T> Schema for OneOrList<T>
where T: Schema,

Source§

impl<T> Schema for Ordered<T>
where T: Schema,

Source§

impl<T> Schema for Stream<T>
where T: Schema,