pub enum FunctionBodyDeclaration {
WithoutPort(Box<FunctionBodyDeclarationWithoutPort>),
WithPort(Box<FunctionBodyDeclarationWithPort>),
}Variants
WithoutPort(Box<FunctionBodyDeclarationWithoutPort>)
WithPort(Box<FunctionBodyDeclarationWithPort>)
Trait Implementations
sourceimpl Clone for FunctionBodyDeclaration
impl Clone for FunctionBodyDeclaration
sourcefn clone(&self) -> FunctionBodyDeclaration
fn clone(&self) -> FunctionBodyDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FunctionBodyDeclaration
impl Debug for FunctionBodyDeclaration
sourceimpl<'a> From<&'a FunctionBodyDeclaration> for RefNode<'a>
impl<'a> From<&'a FunctionBodyDeclaration> for RefNode<'a>
sourcefn from(x: &'a FunctionBodyDeclaration) -> Self
fn from(x: &'a FunctionBodyDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a FunctionBodyDeclaration> for RefNodes<'a>
impl<'a> From<&'a FunctionBodyDeclaration> for RefNodes<'a>
sourcefn from(x: &'a FunctionBodyDeclaration) -> Self
fn from(x: &'a FunctionBodyDeclaration) -> Self
Converts to this type from the input type.
sourceimpl From<FunctionBodyDeclaration> for AnyNode
impl From<FunctionBodyDeclaration> for AnyNode
sourcefn from(x: FunctionBodyDeclaration) -> Self
fn from(x: FunctionBodyDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a FunctionBodyDeclaration
impl<'a> IntoIterator for &'a FunctionBodyDeclaration
sourceimpl PartialEq<FunctionBodyDeclaration> for FunctionBodyDeclaration
impl PartialEq<FunctionBodyDeclaration> for FunctionBodyDeclaration
sourcefn eq(&self, other: &FunctionBodyDeclaration) -> bool
fn eq(&self, other: &FunctionBodyDeclaration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FunctionBodyDeclaration) -> bool
fn ne(&self, other: &FunctionBodyDeclaration) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a FunctionBodyDeclaration> for Locate
impl<'a> TryFrom<&'a FunctionBodyDeclaration> for Locate
sourceimpl TryFrom<AnyNode> for FunctionBodyDeclaration
impl TryFrom<AnyNode> for FunctionBodyDeclaration
sourceimpl TryFrom<FunctionBodyDeclaration> for Locate
impl TryFrom<FunctionBodyDeclaration> for Locate
impl StructuralPartialEq for FunctionBodyDeclaration
Auto Trait Implementations
impl RefUnwindSafe for FunctionBodyDeclaration
impl Send for FunctionBodyDeclaration
impl Sync for FunctionBodyDeclaration
impl Unpin for FunctionBodyDeclaration
impl UnwindSafe for FunctionBodyDeclaration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more