Enum virtual_view::ViewKind
[−]
[src]
pub enum ViewKind { String(String), Component(Arc<Component>), }
Variants
String(String)
Component(Arc<Component>)
Methods
impl ViewKind
[src]
pub fn is_string(&self) -> bool
[src]
pub fn is_component(&self) -> bool
[src]
pub fn type_id(&self) -> TypeId
[src]
pub fn take_string(self) -> String
[src]
Trait Implementations
impl Clone for ViewKind
[src]
fn clone(&self) -> ViewKind
[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 Sync for ViewKind
[src]
impl Send for ViewKind
[src]
impl<'a> From<&'a str> for ViewKind
[src]
impl From<String> for ViewKind
[src]
impl From<Arc<Component>> for ViewKind
[src]
impl<T> From<T> for ViewKind where
T: Component,
[src]
T: Component,
impl PartialEq for ViewKind
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialEq<str> for ViewKind
[src]
fn eq(&self, other: &str) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for ViewKind
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more