pub struct OperatorDeclaration<'tree> {
pub span: Span,
pub body: Option<OperatorDeclarationBody<'tree>>,
pub operator: OperatorDeclarationOperator,
pub parameters: ParameterList<'tree>,
pub type: Type<'tree>,
pub children: Vec<OperatorDeclarationChildren<'tree>>,
}Fields§
§span: Span§body: Option<OperatorDeclarationBody<'tree>>§operator: OperatorDeclarationOperator§parameters: ParameterList<'tree>§type: Type<'tree>§children: Vec<OperatorDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for OperatorDeclaration<'tree>
impl<'tree> Clone for OperatorDeclaration<'tree>
Source§fn clone(&self) -> OperatorDeclaration<'tree>
fn clone(&self) -> OperatorDeclaration<'tree>
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<'tree> Debug for OperatorDeclaration<'tree>
impl<'tree> Debug for OperatorDeclaration<'tree>
impl<'tree> Eq for OperatorDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for OperatorDeclaration<'tree>
impl<'tree> FromNode<'tree> for OperatorDeclaration<'tree>
Source§impl<'tree> PartialEq for OperatorDeclaration<'tree>
impl<'tree> PartialEq for OperatorDeclaration<'tree>
Source§impl Spanned for OperatorDeclaration<'_>
impl Spanned for OperatorDeclaration<'_>
impl<'tree> StructuralPartialEq for OperatorDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for OperatorDeclaration<'tree>
impl<'tree> RefUnwindSafe for OperatorDeclaration<'tree>
impl<'tree> Send for OperatorDeclaration<'tree>
impl<'tree> Sync for OperatorDeclaration<'tree>
impl<'tree> Unpin for OperatorDeclaration<'tree>
impl<'tree> UnsafeUnpin for OperatorDeclaration<'tree>
impl<'tree> UnwindSafe for OperatorDeclaration<'tree>
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