pub struct DirectiveAnnotationSyntax<'src> {
pub argument_parens: Option<DelimiterPair<'src>>,
pub at_sign: GraphQLToken<'src>,
}Expand description
Syntax detail for a DirectiveAnnotation.
Fields§
§argument_parens: Option<DelimiterPair<'src>>§at_sign: GraphQLToken<'src>Trait Implementations§
Source§impl<'src> Clone for DirectiveAnnotationSyntax<'src>
impl<'src> Clone for DirectiveAnnotationSyntax<'src>
Source§fn clone(&self) -> DirectiveAnnotationSyntax<'src>
fn clone(&self) -> DirectiveAnnotationSyntax<'src>
Returns a duplicate 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<'src> Debug for DirectiveAnnotationSyntax<'src>
impl<'src> Debug for DirectiveAnnotationSyntax<'src>
Source§impl<'src> PartialEq for DirectiveAnnotationSyntax<'src>
impl<'src> PartialEq for DirectiveAnnotationSyntax<'src>
Source§fn eq(&self, other: &DirectiveAnnotationSyntax<'src>) -> bool
fn eq(&self, other: &DirectiveAnnotationSyntax<'src>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'src> StructuralPartialEq for DirectiveAnnotationSyntax<'src>
Auto Trait Implementations§
impl<'src> Freeze for DirectiveAnnotationSyntax<'src>
impl<'src> RefUnwindSafe for DirectiveAnnotationSyntax<'src>
impl<'src> Send for DirectiveAnnotationSyntax<'src>
impl<'src> Sync for DirectiveAnnotationSyntax<'src>
impl<'src> Unpin for DirectiveAnnotationSyntax<'src>
impl<'src> UnsafeUnpin for DirectiveAnnotationSyntax<'src>
impl<'src> UnwindSafe for DirectiveAnnotationSyntax<'src>
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