pub struct List(/* private fields */);
Implementations§
source§impl 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§
source§impl 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,
source§impl PartialEq for List
impl PartialEq for List
impl Eq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl !RefUnwindSafe for List
impl !Send for List
impl !Sync for List
impl Unpin for List
impl !UnwindSafe for List
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)