pub struct SchemaExtension { /* private fields */ }
Implementations§
source§impl SchemaExtension
impl SchemaExtension
pub fn extend_token(&self) -> Option<SyntaxToken>
pub fn schema_token(&self) -> Option<SyntaxToken>
pub fn directives(&self) -> Option<Directives>
pub fn l_curly_token(&self) -> Option<SyntaxToken>
pub fn root_operation_type_definitions( &self, ) -> CstChildren<RootOperationTypeDefinition> ⓘ
pub fn r_curly_token(&self) -> Option<SyntaxToken>
Trait Implementations§
source§impl Clone for SchemaExtension
impl Clone for SchemaExtension
source§fn clone(&self) -> SchemaExtension
fn clone(&self) -> SchemaExtension
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 SchemaExtension
impl CstNode for SchemaExtension
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 SchemaExtension
impl Debug for SchemaExtension
source§impl From<SchemaExtension> for Definition
impl From<SchemaExtension> for Definition
source§fn from(node: SchemaExtension) -> Definition
fn from(node: SchemaExtension) -> Definition
Converts to this type from the input type.
source§impl Hash for SchemaExtension
impl Hash for SchemaExtension
source§impl PartialEq for SchemaExtension
impl PartialEq for SchemaExtension
impl Eq for SchemaExtension
impl StructuralPartialEq for SchemaExtension
Auto Trait Implementations§
impl Freeze for SchemaExtension
impl !RefUnwindSafe for SchemaExtension
impl !Send for SchemaExtension
impl !Sync for SchemaExtension
impl Unpin for SchemaExtension
impl !UnwindSafe for SchemaExtension
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
)