pub struct RequiredKeywordParameterNode<'pr> { /* private fields */ }Expand description
Represents a required keyword parameter to a method, block, or lambda definition.
def a(b: )
      ^^
endImplementations§
Source§impl<'pr> RequiredKeywordParameterNode<'pr>
 
impl<'pr> RequiredKeywordParameterNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
 
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn is_repeated_parameter(&self) -> bool
 
pub fn is_repeated_parameter(&self) -> bool
a parameter name that has been repeated in the method signature
Sourcepub fn name(&self) -> ConstantId<'pr>
 
pub fn name(&self) -> ConstantId<'pr>
Returns the name param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for RequiredKeywordParameterNode<'pr>
impl<'pr> RefUnwindSafe for RequiredKeywordParameterNode<'pr>
impl<'pr> !Send for RequiredKeywordParameterNode<'pr>
impl<'pr> !Sync for RequiredKeywordParameterNode<'pr>
impl<'pr> Unpin for RequiredKeywordParameterNode<'pr>
impl<'pr> !UnwindSafe for RequiredKeywordParameterNode<'pr>
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