pub struct OperationDefinition { /* private fields */ }
Implementations§
source§impl OperationDefinition
impl OperationDefinition
pub fn operation_type(&self) -> Option<OperationType>
pub fn name(&self) -> Option<Name>
pub fn variable_definitions(&self) -> Option<VariableDefinitions>
pub fn directives(&self) -> Option<Directives>
pub fn selection_set(&self) -> Option<SelectionSet>
Trait Implementations§
source§impl Clone for OperationDefinition
impl Clone for OperationDefinition
source§fn clone(&self) -> OperationDefinition
fn clone(&self) -> OperationDefinition
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 OperationDefinition
impl CstNode for OperationDefinition
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 OperationDefinition
impl Debug for OperationDefinition
source§impl From<OperationDefinition> for Definition
impl From<OperationDefinition> for Definition
source§fn from(node: OperationDefinition) -> Definition
fn from(node: OperationDefinition) -> Definition
Converts to this type from the input type.
source§impl Hash for OperationDefinition
impl Hash for OperationDefinition
source§impl PartialEq for OperationDefinition
impl PartialEq for OperationDefinition
impl Eq for OperationDefinition
impl StructuralPartialEq for OperationDefinition
Auto Trait Implementations§
impl Freeze for OperationDefinition
impl !RefUnwindSafe for OperationDefinition
impl !Send for OperationDefinition
impl !Sync for OperationDefinition
impl Unpin for OperationDefinition
impl !UnwindSafe for OperationDefinition
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
)