pub struct ExecutableDocument { /* private fields */ }
Implementations§
Source§impl ExecutableDocument
impl ExecutableDocument
pub fn read<T>(&self, id: T) -> T::Reader<'_>where
T: ExecutableId,
Source§impl ExecutableDocument
impl ExecutableDocument
pub fn definitions(&self) -> Iter<'_, ExecutableDefinition<'_>> ⓘ
pub fn operations( &self, ) -> impl DoubleEndedIterator<Item = OperationDefinition<'_>> + '_
pub fn fragments( &self, ) -> impl DoubleEndedIterator<Item = FragmentDefinition<'_>> + '_
Trait Implementations§
Source§impl Default for ExecutableDocument
impl Default for ExecutableDocument
Source§fn default() -> ExecutableDocument
fn default() -> ExecutableDocument
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutableDocument
impl RefUnwindSafe for ExecutableDocument
impl Send for ExecutableDocument
impl Sync for ExecutableDocument
impl Unpin for ExecutableDocument
impl UnwindSafe for ExecutableDocument
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