Enum virtual_view::RawView
[−]
[src]
pub enum RawView { Text(String), Data { kind: String, key: Option<String>, props: Map<String, Value>, children: Vec<RawView>, }, }
Variants
Text(String)
Data
Fields of Data
kind: String | |
key: Option<String> | |
props: Map<String, Value> | |
children: Vec<RawView> |
Methods
impl RawView
[src]
pub fn kind(&self) -> Option<&String>
[src]
pub fn key(&self) -> Option<&String>
[src]
pub fn props(&self) -> Option<&Map<String, Value>>
[src]
pub fn children(&self) -> Option<&Vec<RawView>>
[src]
Trait Implementations
impl Debug for RawView
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RawView
[src]
fn clone(&self) -> RawView
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for RawView
[src]
fn eq(&self, __arg_0: &RawView) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawView) -> bool
[src]
This method tests for !=
.