pub enum Prop {
Show 14 variants
Keyword {
value: String,
},
Number {
value: f64,
},
Icon {
name: String,
},
Resource {
name: String,
},
Text {
text: Text,
},
Expr {
expr: Expr,
},
Field {
field: FieldRef,
},
Window {
id: String,
},
TypeName {
name: String,
},
Key {
field: usize,
name: String,
},
Id {
value: String,
},
Player {
id: String,
},
Query {
query: QueryBinding,
},
Feature {
contract: String,
feature: String,
},
}Variants§
Keyword
Number
Icon
Resource
A declared resource, by its name in [resources].
Text
Expr
Field
Window
TypeName
Key
Id
Player
An application player.
Query
A typed query call whose result feeds the element’s template.
Fields
§
query: QueryBindingFeature
The feature of the enclosing contract an entry reaches.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prop
impl<'de> Deserialize<'de> for Prop
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 StructuralPartialEq for Prop
Auto Trait Implementations§
impl Freeze for Prop
impl RefUnwindSafe for Prop
impl Send for Prop
impl Sync for Prop
impl Unpin for Prop
impl UnsafeUnpin for Prop
impl UnwindSafe for Prop
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