pub struct ImportCtx<'a> { /* private fields */ }
Expand description
Context passed to FlowNode::imports
.
Implementations§
Source§impl ImportCtx<'_>
impl ImportCtx<'_>
Sourcepub fn import<N>(&mut self)where
N: FlowNodeBase + 'static,
pub fn import<N>(&mut self)where
N: FlowNodeBase + 'static,
Declare that a Node can be referenced in FlowNode::emit
Auto Trait Implementations§
impl<'a> Freeze for ImportCtx<'a>
impl<'a> !RefUnwindSafe for ImportCtx<'a>
impl<'a> !Send for ImportCtx<'a>
impl<'a> !Sync for ImportCtx<'a>
impl<'a> Unpin for ImportCtx<'a>
impl<'a> !UnwindSafe for ImportCtx<'a>
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