pub enum ViewBodyElement {
Error(Node<ParseErrorNode>),
Other(String),
Doc(Node<DocComment>),
Filter(Node<FilterMember>),
ViewRendering(Node<ViewRenderingUsage>),
Expose(Node<ExposeMember>),
Satisfy(Node<SatisfyViewMember>),
}Variants§
Error(Node<ParseErrorNode>)
Other(String)
Unmodeled view body element captured as raw text (used for library parsing).
Doc(Node<DocComment>)
Filter(Node<FilterMember>)
ViewRendering(Node<ViewRenderingUsage>)
Expose(Node<ExposeMember>)
Satisfy(Node<SatisfyViewMember>)
Trait Implementations§
Source§impl Clone for ViewBodyElement
impl Clone for ViewBodyElement
Source§fn clone(&self) -> ViewBodyElement
fn clone(&self) -> ViewBodyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ViewBodyElement
impl Debug for ViewBodyElement
impl Eq for ViewBodyElement
Source§impl PartialEq for ViewBodyElement
impl PartialEq for ViewBodyElement
Source§fn eq(&self, other: &ViewBodyElement) -> bool
fn eq(&self, other: &ViewBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ViewBodyElement
Auto Trait Implementations§
impl Freeze for ViewBodyElement
impl RefUnwindSafe for ViewBodyElement
impl Send for ViewBodyElement
impl Sync for ViewBodyElement
impl Unpin for ViewBodyElement
impl UnsafeUnpin for ViewBodyElement
impl UnwindSafe for ViewBodyElement
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