Struct nsi::FinishCallback
source · pub struct FinishCallback<'a>(/* private fields */);
Expand description
Wrapper to pass an FnFinish
closure to an
OutputDriver
node.
Implementations§
source§impl<'a> FinishCallback<'a>
impl<'a> FinishCallback<'a>
pub fn new<F>(fn_finish: F) -> FinishCallback<'a>where F: FnFinish<'a>,
Available on crate feature
output
only.Trait Implementations§
impl CallbackPtr for FinishCallback<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FinishCallback<'a>
impl<'a> !Send for FinishCallback<'a>
impl<'a> !Sync for FinishCallback<'a>
impl<'a> Unpin for FinishCallback<'a>
impl<'a> !UnwindSafe for FinishCallback<'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