Struct apollo_compiler::database::hir::ArgumentsDefinition
source · pub struct ArgumentsDefinition { /* private fields */ }
Implementations§
source§impl ArgumentsDefinition
impl ArgumentsDefinition
sourcepub fn input_values(&self) -> &[InputValueDefinition]
pub fn input_values(&self) -> &[InputValueDefinition]
Get a reference to arguments definition’s input values.
sourcepub fn loc(&self) -> Option<HirNodeLocation>
pub fn loc(&self) -> Option<HirNodeLocation>
Get the AST location information for this HIR node.
Trait Implementations§
source§impl Clone for ArgumentsDefinition
impl Clone for ArgumentsDefinition
source§fn clone(&self) -> ArgumentsDefinition
fn clone(&self) -> ArgumentsDefinition
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 ArgumentsDefinition
impl Debug for ArgumentsDefinition
source§impl Hash for ArgumentsDefinition
impl Hash for ArgumentsDefinition
source§impl PartialEq<ArgumentsDefinition> for ArgumentsDefinition
impl PartialEq<ArgumentsDefinition> for ArgumentsDefinition
source§fn eq(&self, other: &ArgumentsDefinition) -> bool
fn eq(&self, other: &ArgumentsDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ArgumentsDefinition
impl StructuralEq for ArgumentsDefinition
impl StructuralPartialEq for ArgumentsDefinition
Auto Trait Implementations§
impl RefUnwindSafe for ArgumentsDefinition
impl Send for ArgumentsDefinition
impl Sync for ArgumentsDefinition
impl Unpin for ArgumentsDefinition
impl UnwindSafe for ArgumentsDefinition
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.