pub struct RootOperationTypeDefinition<'a>(/* private fields */);
Implementations§
Source§impl<'a> RootOperationTypeDefinition<'a>
impl<'a> RootOperationTypeDefinition<'a>
pub fn operation_type(&self) -> OperationType
pub fn operation_type_span(&self) -> Span
pub fn named_type(&self) -> &'a str
pub fn named_type_span(&self) -> Span
pub fn span(&self) -> Span
Source§impl RootOperationTypeDefinition<'_>
impl RootOperationTypeDefinition<'_>
pub fn id(&self) -> RootOperationTypeDefinitionId
Trait Implementations§
Source§impl<'a> Clone for RootOperationTypeDefinition<'a>
impl<'a> Clone for RootOperationTypeDefinition<'a>
Source§fn clone(&self) -> RootOperationTypeDefinition<'a>
fn clone(&self) -> RootOperationTypeDefinition<'a>
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 Debug for RootOperationTypeDefinition<'_>
impl Debug for RootOperationTypeDefinition<'_>
Source§impl IdReader for RootOperationTypeDefinition<'_>
impl IdReader for RootOperationTypeDefinition<'_>
type Id = RootOperationTypeDefinitionId
type Reader<'a> = RootOperationTypeDefinition<'a>
fn new(id: Self::Id, document: &TypeSystemDocument) -> Self::Reader<'_>
impl<'a> Copy for RootOperationTypeDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for RootOperationTypeDefinition<'a>
impl<'a> RefUnwindSafe for RootOperationTypeDefinition<'a>
impl<'a> Send for RootOperationTypeDefinition<'a>
impl<'a> Sync for RootOperationTypeDefinition<'a>
impl<'a> Unpin for RootOperationTypeDefinition<'a>
impl<'a> UnwindSafe for RootOperationTypeDefinition<'a>
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