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