Struct bluejay_parser::ast::definition::DirectiveDefinition
source · pub struct DirectiveDefinition<'a, C: Context> { /* private fields */ }Trait Implementations§
source§impl<'a, C: Context> DirectiveDefinition for DirectiveDefinition<'a, C>
impl<'a, C: Context> DirectiveDefinition for DirectiveDefinition<'a, C>
type ArgumentsDefinition = ArgumentsDefinition<'a, C>
type DirectiveLocations = DirectiveLocations
fn description(&self) -> Option<&str>
fn name(&self) -> &str
fn arguments_definition(&self) -> Option<&Self::ArgumentsDefinition>
fn is_repeatable(&self) -> bool
fn locations(&self) -> &Self::DirectiveLocations
fn is_builtin(&self) -> bool
Auto Trait Implementations§
impl<'a, C> Freeze for DirectiveDefinition<'a, C>
impl<'a, C> RefUnwindSafe for DirectiveDefinition<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for DirectiveDefinition<'a, C>where
C: Send,
impl<'a, C> Sync for DirectiveDefinition<'a, C>where
C: Sync,
impl<'a, C> Unpin for DirectiveDefinition<'a, C>where
C: Unpin,
impl<'a, C> UnwindSafe for DirectiveDefinition<'a, C>where
C: UnwindSafe,
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