pub enum StateDisplay {
Sidebar,
}Expand description
The vanilla display slot a named datum stands in (spec-0076).
One value, because vanilla has one slot that stands for the viewer: list
shows only while the tab key is held and below_name draws under other
players’ name tags, never over the viewer’s own body. A second variant is
added when the pinned game offers a second standing surface, not before.
Variants§
Sidebar
The right-hand sidebar: a heading (the datum’s name) and one line per
player, each showing that player’s own balance.
Implementations§
Trait Implementations§
Source§impl Clone for StateDisplay
impl Clone for StateDisplay
impl Copy for StateDisplay
Source§impl Debug for StateDisplay
impl Debug for StateDisplay
Source§impl<'de> Deserialize<'de> for StateDisplay
impl<'de> Deserialize<'de> for StateDisplay
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
impl Eq for StateDisplay
Source§impl JsonSchema for StateDisplay
impl JsonSchema for StateDisplay
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 StateDisplay
impl PartialEq for StateDisplay
Source§impl Serialize for StateDisplay
impl Serialize for StateDisplay
impl StructuralPartialEq for StateDisplay
Auto Trait Implementations§
impl Freeze for StateDisplay
impl RefUnwindSafe for StateDisplay
impl Send for StateDisplay
impl Sync for StateDisplay
impl Unpin for StateDisplay
impl UnsafeUnpin for StateDisplay
impl UnwindSafe for StateDisplay
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