pub fn input_task<'gcx, C, R>(&self,
                                   key: DepNode,
                                   cx: C,
                                   input: R)
                                   -> (R, DepNodeIndex)
        where C: DepGraphSafe + StableHashingContextProvider<'gcx>,
              R: HashStable<StableHashingContext<'gcx>>,
    {
        fn identity_fn<C, A>(_: C, arg: A) -> A {
            arg
        }

        self.with_task_impl(key, cx, input, true, identity_fn,
            |_| OpenTask::Ignore,
            |data, key, fingerprint, _| {
                data.borrow_mut().alloc_node(key, SmallVec::new(), fingerprint)
            })
    }
/// Creates a new dep-graph input with value `input`
Creates a new dep-graph input with value `input`
Creates a new dep - graph input with value ` input `
pub fn input_task<'gcx, C, R>(&self,
                                   key: DepNode,
                                   cx: C,
                                   input: R)
                                   -> (R, DepNodeIndex)
        where C: DepGraphSafe + StableHashingContextProvider<'gcx>,
              R: HashStable<StableHashingContext<'gcx>>,
    {
        fn identity_fn<C, A>(_: C, arg: A) -> A {
            arg
        }
        self.with_task_impl(key, cx, input, true, identity_fn,
            |_| OpenTask::Ignore,
            |data, key, fingerprint, _| {
                data.borrow_mut().alloc_node(key, SmallVec::new(), fingerprint)
            })
    }
pub fn input_task < ' gcx , C , R > ( & self , key : DepNode , cx : C , input : R ) -> ( R , DepNodeIndex ) where C : DepGraphSafe + StableHashingContextProvider < ' gcx > , R : HashStable < StableHashingContext < ' gcx > > , { fn identity_fn < C , A > ( _ : C , arg : A ) -> A { arg } self . with_task_impl ( key , cx , input , true , identity_fn , | _ | OpenTask :: Ignore , | data , key , fingerprint , _ | { data . borrow_mut ( ) . alloc_node ( key , SmallVec :: new ( ) , fingerprint ) } ) }
Creates a new dep-graph input with value `input`
Creates a new dep - graph input with value ` input `
&self
key
DepNode
cx
C
input
R
&self
key
DepNode
cx
C
input
R