pub enum RuntimeValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
Fragment(Vec<RuntimeValue>),
RawHtml(String),
Sequence(Vec<RuntimeValue>),
Attributes(Vec<(String, RuntimeValue)>),
}Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
Fragment(Vec<RuntimeValue>)
RawHtml(String)
Sequence(Vec<RuntimeValue>)
Attributes(Vec<(String, RuntimeValue)>)
Trait Implementations§
Source§impl Clone for RuntimeValue
impl Clone for RuntimeValue
Source§fn clone(&self) -> RuntimeValue
fn clone(&self) -> RuntimeValue
Returns a duplicate 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 RuntimeValue
impl Debug for RuntimeValue
Source§impl PartialEq for RuntimeValue
impl PartialEq for RuntimeValue
impl StructuralPartialEq for RuntimeValue
Auto Trait Implementations§
impl Freeze for RuntimeValue
impl RefUnwindSafe for RuntimeValue
impl Send for RuntimeValue
impl Sync for RuntimeValue
impl Unpin for RuntimeValue
impl UnsafeUnpin for RuntimeValue
impl UnwindSafe for RuntimeValue
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