pub struct ExportList(/* private fields */);Implementations§
Source§impl ExportList
impl ExportList
pub fn exports(&self) -> AstChildren<Export>
pub fn exports_kw(&self) -> SyntaxToken
Sourcepub fn l_brack(&self) -> SyntaxToken
pub fn l_brack(&self) -> SyntaxToken
Get l brack [
Sourcepub fn r_brack(&self) -> SyntaxToken
pub fn r_brack(&self) -> SyntaxToken
Get r brack ]
pub fn trivias(&self) -> AstChildren<Trivia>
Trait Implementations§
Source§impl AstNode for ExportList
impl AstNode for ExportList
type Language = Lang
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for ExportList
impl Clone for ExportList
Source§fn clone(&self) -> ExportList
fn clone(&self) -> ExportList
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 Debug for ExportList
impl Debug for ExportList
Source§impl Display for ExportList
impl Display for ExportList
Source§impl Hash for ExportList
impl Hash for ExportList
Source§impl PartialEq for ExportList
impl PartialEq for ExportList
impl Eq for ExportList
impl StructuralPartialEq for ExportList
Auto Trait Implementations§
impl Freeze for ExportList
impl !RefUnwindSafe for ExportList
impl !Send for ExportList
impl !Sync for ExportList
impl Unpin for ExportList
impl !UnwindSafe for ExportList
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