Enum pax_compiler::manifest::ValueDefinition
source · pub enum ValueDefinition {
Undefined,
LiteralValue(String),
Block(LiteralBlockDefinition),
Expression(String, Option<usize>),
Identifier(String, Option<usize>),
EventBindingTarget(String),
}
Expand description
Container for settings values, storing all possible variants, populated at parse-time and used at compile-time
Variants§
Undefined
LiteralValue(String)
Block(LiteralBlockDefinition)
Expression(String, Option<usize>)
(Expression contents, vtable id binding)
Identifier(String, Option<usize>)
(Expression contents, vtable id binding)
EventBindingTarget(String)
Trait Implementations§
source§impl Clone for ValueDefinition
impl Clone for ValueDefinition
source§fn clone(&self) -> ValueDefinition
fn clone(&self) -> ValueDefinition
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 ValueDefinition
impl Debug for ValueDefinition
source§impl Default for ValueDefinition
impl Default for ValueDefinition
source§fn default() -> ValueDefinition
fn default() -> ValueDefinition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValueDefinition
impl<'de> Deserialize<'de> for ValueDefinition
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
Auto Trait Implementations§
impl RefUnwindSafe for ValueDefinition
impl Send for ValueDefinition
impl Sync for ValueDefinition
impl Unpin for ValueDefinition
impl UnwindSafe for ValueDefinition
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