pub struct ListValue { /* private fields */ }
Implementations§
source§impl ListValue
impl ListValue
pub fn l_brack_token(&self) -> Option<SyntaxToken>
pub fn r_brack_token(&self) -> Option<SyntaxToken>
pub fn values(&self) -> CstChildren<Value> ⓘ
Trait Implementations§
source§impl CstNode for ListValue
impl CstNode for ListValue
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn source_string(&self) -> String
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for ListValue
impl StructuralPartialEq for ListValue
Auto Trait Implementations§
impl Freeze for ListValue
impl !RefUnwindSafe for ListValue
impl !Send for ListValue
impl !Sync for ListValue
impl Unpin for ListValue
impl !UnwindSafe for ListValue
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)