pub struct GenericParams(/* private fields */);
Implementations§
Source§impl GenericParams
impl GenericParams
pub fn names(&self) -> Vec<SyntaxToken> ⓘ
Trait Implementations§
Source§impl AstNode for GenericParams
impl AstNode for GenericParams
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for GenericParams
impl Clone for GenericParams
Source§fn clone(&self) -> GenericParams
fn clone(&self) -> GenericParams
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 moreAuto Trait Implementations§
impl Freeze for GenericParams
impl !RefUnwindSafe for GenericParams
impl !Send for GenericParams
impl !Sync for GenericParams
impl Unpin for GenericParams
impl !UnwindSafe for GenericParams
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