pub enum ViewDefBody {
Semicolon,
Brace {
elements: Vec<Node<ViewDefBodyElement>>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ViewDefBody
impl Clone for ViewDefBody
Source§fn clone(&self) -> ViewDefBody
fn clone(&self) -> ViewDefBody
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 ViewDefBody
impl Debug for ViewDefBody
impl Eq for ViewDefBody
Source§impl PartialEq for ViewDefBody
impl PartialEq for ViewDefBody
Source§fn eq(&self, other: &ViewDefBody) -> bool
fn eq(&self, other: &ViewDefBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ViewDefBody
Auto Trait Implementations§
impl Freeze for ViewDefBody
impl RefUnwindSafe for ViewDefBody
impl Send for ViewDefBody
impl Sync for ViewDefBody
impl Unpin for ViewDefBody
impl UnsafeUnpin for ViewDefBody
impl UnwindSafe for ViewDefBody
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