pub struct InterfaceTypeExtensionSyntax<'src> {
pub ampersands: Vec<GraphQLToken<'src>>,
pub braces: Option<DelimiterPair<'src>>,
pub extend_keyword: GraphQLToken<'src>,
pub implements_keyword: Option<GraphQLToken<'src>>,
pub interface_keyword: GraphQLToken<'src>,
pub leading_ampersand: Option<GraphQLToken<'src>>,
}Expand description
Syntax detail for an InterfaceTypeExtension.
Fields§
§ampersands: Vec<GraphQLToken<'src>>§braces: Option<DelimiterPair<'src>>§extend_keyword: GraphQLToken<'src>§implements_keyword: Option<GraphQLToken<'src>>§interface_keyword: GraphQLToken<'src>§leading_ampersand: Option<GraphQLToken<'src>>Trait Implementations§
Source§impl<'src> Clone for InterfaceTypeExtensionSyntax<'src>
impl<'src> Clone for InterfaceTypeExtensionSyntax<'src>
Source§fn clone(&self) -> InterfaceTypeExtensionSyntax<'src>
fn clone(&self) -> InterfaceTypeExtensionSyntax<'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 InterfaceTypeExtensionSyntax<'src>
impl<'src> Debug for InterfaceTypeExtensionSyntax<'src>
Source§impl<'src> PartialEq for InterfaceTypeExtensionSyntax<'src>
impl<'src> PartialEq for InterfaceTypeExtensionSyntax<'src>
Source§fn eq(&self, other: &InterfaceTypeExtensionSyntax<'src>) -> bool
fn eq(&self, other: &InterfaceTypeExtensionSyntax<'src>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'src> StructuralPartialEq for InterfaceTypeExtensionSyntax<'src>
Auto Trait Implementations§
impl<'src> Freeze for InterfaceTypeExtensionSyntax<'src>
impl<'src> RefUnwindSafe for InterfaceTypeExtensionSyntax<'src>
impl<'src> Send for InterfaceTypeExtensionSyntax<'src>
impl<'src> Sync for InterfaceTypeExtensionSyntax<'src>
impl<'src> Unpin for InterfaceTypeExtensionSyntax<'src>
impl<'src> UnsafeUnpin for InterfaceTypeExtensionSyntax<'src>
impl<'src> UnwindSafe for InterfaceTypeExtensionSyntax<'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