pub struct Trace<Op: GraphOperation> { /* private fields */ }Expand description
Opaque handle to an eager reverse-mode trace node.
Downstream eager values store this handle next to their concrete data and
pass it back to crate::eager::try_backward. The node and edge layout is
intentionally private.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Op> Freeze for Trace<Op>
impl<Op> RefUnwindSafe for Trace<Op>where
<Op as GraphOperation>::InputKey: RefUnwindSafe,
Op: RefUnwindSafe,
<Op as GraphOperation>::Operand: RefUnwindSafe,
impl<Op> Send for Trace<Op>
impl<Op> Sync for Trace<Op>
impl<Op> Unpin for Trace<Op>
impl<Op> UnsafeUnpin for Trace<Op>
impl<Op> UnwindSafe for Trace<Op>where
<Op as GraphOperation>::InputKey: RefUnwindSafe,
Op: RefUnwindSafe,
<Op as GraphOperation>::Operand: RefUnwindSafe,
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