pub struct SimpleParameter<'tree> {
pub span: Span,
pub attributes: Option<AttributeList<'tree>>,
pub default_value: Option<Expression<'tree>>,
pub name: VariableName<'tree>,
pub reference_modifier: Option<ReferenceModifier<'tree>>,
pub type: Option<Type<'tree>>,
}Fields§
§span: Span§attributes: Option<AttributeList<'tree>>§default_value: Option<Expression<'tree>>§name: VariableName<'tree>§reference_modifier: Option<ReferenceModifier<'tree>>§type: Option<Type<'tree>>Trait Implementations§
Source§impl<'tree> Clone for SimpleParameter<'tree>
impl<'tree> Clone for SimpleParameter<'tree>
Source§fn clone(&self) -> SimpleParameter<'tree>
fn clone(&self) -> SimpleParameter<'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 SimpleParameter<'tree>
impl<'tree> Debug for SimpleParameter<'tree>
Source§impl<'tree> FromNode<'tree> for SimpleParameter<'tree>
impl<'tree> FromNode<'tree> for SimpleParameter<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SimpleParameter<'tree>
impl<'tree> RefUnwindSafe for SimpleParameter<'tree>
impl<'tree> Send for SimpleParameter<'tree>
impl<'tree> Sync for SimpleParameter<'tree>
impl<'tree> Unpin for SimpleParameter<'tree>
impl<'tree> UnsafeUnpin for SimpleParameter<'tree>
impl<'tree> UnwindSafe for SimpleParameter<'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