pub struct FormalParameter<'tree> {
pub span: Span,
pub dimensions: Option<Dimensions<'tree>>,
pub name: FormalParameterName<'tree>,
pub type: UnannotatedType<'tree>,
pub children: Option<Modifiers<'tree>>,
}Fields§
§span: Span§dimensions: Option<Dimensions<'tree>>§name: FormalParameterName<'tree>§type: UnannotatedType<'tree>§children: Option<Modifiers<'tree>>Trait Implementations§
Source§impl<'tree> Clone for FormalParameter<'tree>
impl<'tree> Clone for FormalParameter<'tree>
Source§fn clone(&self) -> FormalParameter<'tree>
fn clone(&self) -> FormalParameter<'tree>
Returns a duplicate of the value. Read more
1.0.0 · 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 FormalParameter<'tree>
impl<'tree> Debug for FormalParameter<'tree>
Source§impl<'tree> FromNode<'tree> for FormalParameter<'tree>
impl<'tree> FromNode<'tree> for FormalParameter<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for FormalParameter<'tree>
impl<'tree> RefUnwindSafe for FormalParameter<'tree>
impl<'tree> Send for FormalParameter<'tree>
impl<'tree> Sync for FormalParameter<'tree>
impl<'tree> Unpin for FormalParameter<'tree>
impl<'tree> UnsafeUnpin for FormalParameter<'tree>
impl<'tree> UnwindSafe for FormalParameter<'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