pub struct Parameter(/* private fields */);Expand description
source src : Type
Implementations§
Source§impl Parameter
impl Parameter
pub fn mode(&self) -> Option<ParameterMode>
pub fn name(&self) -> Option<String>
pub fn type_annotation(&self) -> Option<TypeAnnotation>
Trait Implementations§
Source§impl AstNode for Parameter
impl AstNode for Parameter
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl !RefUnwindSafe for Parameter
impl !Send for Parameter
impl !Sync for Parameter
impl !UnwindSafe for Parameter
impl Freeze for Parameter
impl Unpin for Parameter
impl UnsafeUnpin 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