pub enum ParticleAt {
Players(PlayersKeyword),
Mark(Mark),
}Expand description
Where a Verb::Particle spawns (spec-0085 §4.3): a mark, or the literal
players.
Variants§
Players(PlayersKeyword)
"players" — at each addressed player’s own position.
Mark(Mark)
A mark — the cell’s centre at the mark’s plane.
Trait Implementations§
Source§impl Clone for ParticleAt
impl Clone for ParticleAt
Source§impl Debug for ParticleAt
impl Debug for ParticleAt
Source§impl<'de> Deserialize<'de> for ParticleAt
impl<'de> Deserialize<'de> for ParticleAt
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 JsonSchema for ParticleAt
impl JsonSchema for ParticleAt
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ParticleAt
impl PartialEq for ParticleAt
Source§impl Serialize for ParticleAt
impl Serialize for ParticleAt
impl StructuralPartialEq for ParticleAt
Auto Trait Implementations§
impl Freeze for ParticleAt
impl RefUnwindSafe for ParticleAt
impl Send for ParticleAt
impl Sync for ParticleAt
impl Unpin for ParticleAt
impl UnsafeUnpin for ParticleAt
impl UnwindSafe for ParticleAt
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