Struct cynic::FragmentContext [−][src]
Expand description
Context passed into a QueryFragment/InlineFragments
This contains the arguments to be used by the fragment and other metadata neccesary for building the fragment.
Should be built with the new
function to pass in arguments or the
empty
function if there are no arguments.
Fields
args: &'a Args
recurse_depth: Option<u8>
Implementations
Constructs a new FragmentContext with some arguments.
The empty
function can be used instead if there are no arguments.
Constructs a new FragmentContext with no arguments
Trait Implementations
Auto Trait Implementations
impl<'a, Args> RefUnwindSafe for FragmentContext<'a, Args> where
Args: RefUnwindSafe,
impl<'a, Args> Send for FragmentContext<'a, Args> where
Args: Sync,
impl<'a, Args> Sync for FragmentContext<'a, Args> where
Args: Sync,
impl<'a, Args> Unpin for FragmentContext<'a, Args>
impl<'a, Args> UnwindSafe for FragmentContext<'a, Args> where
Args: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V