pub struct ObjectTypeDefinition { /* private fields */ }
Implementations§
source§impl ObjectTypeDefinition
impl ObjectTypeDefinition
pub fn description(&self) -> Option<Description>
pub fn type_token(&self) -> Option<SyntaxToken>
pub fn name(&self) -> Option<Name>
pub fn implements_interfaces(&self) -> Option<ImplementsInterfaces>
pub fn directives(&self) -> Option<Directives>
pub fn fields_definition(&self) -> Option<FieldsDefinition>
Trait Implementations§
source§impl Clone for ObjectTypeDefinition
impl Clone for ObjectTypeDefinition
source§fn clone(&self) -> ObjectTypeDefinition
fn clone(&self) -> ObjectTypeDefinition
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 ObjectTypeDefinition
impl CstNode for ObjectTypeDefinition
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 ObjectTypeDefinition
impl Debug for ObjectTypeDefinition
source§impl From<ObjectTypeDefinition> for Definition
impl From<ObjectTypeDefinition> for Definition
source§fn from(node: ObjectTypeDefinition) -> Definition
fn from(node: ObjectTypeDefinition) -> Definition
Converts to this type from the input type.
source§impl Hash for ObjectTypeDefinition
impl Hash for ObjectTypeDefinition
source§impl PartialEq for ObjectTypeDefinition
impl PartialEq for ObjectTypeDefinition
impl Eq for ObjectTypeDefinition
impl StructuralPartialEq for ObjectTypeDefinition
Auto Trait Implementations§
impl Freeze for ObjectTypeDefinition
impl !RefUnwindSafe for ObjectTypeDefinition
impl !Send for ObjectTypeDefinition
impl !Sync for ObjectTypeDefinition
impl Unpin for ObjectTypeDefinition
impl !UnwindSafe for ObjectTypeDefinition
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
)