pub struct InputValueDefinition<'a>(/* private fields */);
Implementations§
Source§impl<'a> InputValueDefinition<'a>
impl<'a> InputValueDefinition<'a>
pub fn name(&self) -> &'a str
pub fn name_span(&self) -> Span
pub fn ty(&self) -> Type<'a>
pub fn description(&self) -> Option<Description<'a>>
pub fn default_value(&self) -> Option<ConstValue<'a>>
pub fn default_value_span(&self) -> Span
pub fn directives(&self) -> Iter<'a, Directive<'a>> ⓘ
pub fn span(&self) -> Span
Source§impl InputValueDefinition<'_>
impl InputValueDefinition<'_>
pub fn id(&self) -> InputValueDefinitionId
Trait Implementations§
Source§impl<'a> Clone for InputValueDefinition<'a>
impl<'a> Clone for InputValueDefinition<'a>
Source§fn clone(&self) -> InputValueDefinition<'a>
fn clone(&self) -> InputValueDefinition<'a>
Returns a copy 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 Debug for InputValueDefinition<'_>
impl Debug for InputValueDefinition<'_>
Source§impl IdReader for InputValueDefinition<'_>
impl IdReader for InputValueDefinition<'_>
type Id = InputValueDefinitionId
type Reader<'a> = InputValueDefinition<'a>
fn new(id: Self::Id, document: &TypeSystemDocument) -> Self::Reader<'_>
impl<'a> Copy for InputValueDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for InputValueDefinition<'a>
impl<'a> RefUnwindSafe for InputValueDefinition<'a>
impl<'a> Send for InputValueDefinition<'a>
impl<'a> Sync for InputValueDefinition<'a>
impl<'a> Unpin for InputValueDefinition<'a>
impl<'a> UnwindSafe for InputValueDefinition<'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