pub struct EnumTypeExtension<'a> {
pub name: Name<'a>,
pub directives: AstVec<'a, Directive<'a>>,
pub values: AstVec<'a, EnumValueDefinition<'a>>,
pub span: Span,
}Fields§
§name: Name<'a>§directives: AstVec<'a, Directive<'a>>§values: AstVec<'a, EnumValueDefinition<'a>>§span: SpanTrait Implementations§
Source§impl<'a> Debug for EnumTypeExtension<'a>
impl<'a> Debug for EnumTypeExtension<'a>
Source§impl<'a> PartialEq for EnumTypeExtension<'a>
impl<'a> PartialEq for EnumTypeExtension<'a>
Source§fn eq(&self, other: &EnumTypeExtension<'a>) -> bool
fn eq(&self, other: &EnumTypeExtension<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for EnumTypeExtension<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EnumTypeExtension<'a>
impl<'a> !Send for EnumTypeExtension<'a>
impl<'a> !UnwindSafe for EnumTypeExtension<'a>
impl<'a> Freeze for EnumTypeExtension<'a>
impl<'a> Sync for EnumTypeExtension<'a>
impl<'a> Unpin for EnumTypeExtension<'a>
impl<'a> UnsafeUnpin for EnumTypeExtension<'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