pub enum CalcDefBodyElement {
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
InOutDecl(Node<InOutDecl>),
ReturnDecl(Node<ReturnDecl>),
Expression(Node<Expression>),
Other(String),
}Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
InOutDecl(Node<InOutDecl>)
ReturnDecl(Node<ReturnDecl>)
Expression(Node<Expression>)
Other(String)
Unmodeled calc-body element captured as raw text (used for library parsing).
Trait Implementations§
Source§impl Clone for CalcDefBodyElement
impl Clone for CalcDefBodyElement
Source§fn clone(&self) -> CalcDefBodyElement
fn clone(&self) -> CalcDefBodyElement
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 CalcDefBodyElement
impl Debug for CalcDefBodyElement
impl Eq for CalcDefBodyElement
Source§impl PartialEq for CalcDefBodyElement
impl PartialEq for CalcDefBodyElement
Source§fn eq(&self, other: &CalcDefBodyElement) -> bool
fn eq(&self, other: &CalcDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CalcDefBodyElement
Auto Trait Implementations§
impl Freeze for CalcDefBodyElement
impl RefUnwindSafe for CalcDefBodyElement
impl Send for CalcDefBodyElement
impl Sync for CalcDefBodyElement
impl Unpin for CalcDefBodyElement
impl UnsafeUnpin for CalcDefBodyElement
impl UnwindSafe for CalcDefBodyElement
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