pub struct List(_);
Implementations
sourceimpl List
impl List
pub const KIND: SyntaxKind = NODE_LIST
sourceimpl List
impl List
pub fn l_brack_token(&self) -> Option<SyntaxToken>
pub fn items(&self) -> AstChildren<Expr>
pub fn r_brack_token(&self) -> Option<SyntaxToken>
Trait Implementations
sourceimpl AstNode for List
impl AstNode for List
type Language = NixLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(from: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for List
impl StructuralEq for List
impl StructuralPartialEq for List
Auto Trait Implementations
impl !RefUnwindSafe for List
impl !Send for List
impl !Sync for List
impl Unpin for List
impl !UnwindSafe for List
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more