pub struct FieldsDefinition { /* private fields */ }
Implementations§
source§impl FieldsDefinition
impl FieldsDefinition
pub fn l_curly_token(&self) -> Option<SyntaxToken>
pub fn field_definitions(&self) -> CstChildren<FieldDefinition> ⓘ
pub fn r_curly_token(&self) -> Option<SyntaxToken>
Trait Implementations§
source§impl Clone for FieldsDefinition
impl Clone for FieldsDefinition
source§fn clone(&self) -> FieldsDefinition
fn clone(&self) -> FieldsDefinition
Returns a copy 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 CstNode for FieldsDefinition
impl CstNode for FieldsDefinition
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,
source§impl Debug for FieldsDefinition
impl Debug for FieldsDefinition
source§impl Hash for FieldsDefinition
impl Hash for FieldsDefinition
source§impl PartialEq for FieldsDefinition
impl PartialEq for FieldsDefinition
impl Eq for FieldsDefinition
impl StructuralPartialEq for FieldsDefinition
Auto Trait Implementations§
impl Freeze for FieldsDefinition
impl !RefUnwindSafe for FieldsDefinition
impl !Send for FieldsDefinition
impl !Sync for FieldsDefinition
impl Unpin for FieldsDefinition
impl !UnwindSafe for FieldsDefinition
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
)