pub struct Parameter {
pub decorators: Vec<DecoratorNode>,
pub modifiers: ParameterModifiers,
pub binding: Pattern,
pub optional: bool,
pub type_annotation: Option<TypeAnnotationNode>,
pub initializer: Option<Box<Expr>>,
}Fields§
§decorators: Vec<DecoratorNode>§modifiers: ParameterModifiers§binding: Pattern§optional: bool§type_annotation: Option<TypeAnnotationNode>§initializer: Option<Box<Expr>>Trait Implementations§
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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