pub struct CallbackUpdater<A, B, C, L>{
pub count: C,
pub before: B,
pub after: A,
/* private fields */
}Expand description
Accepts callbacks to be called by the UpdateHandler methods.
Fields§
§count: C§before: B§after: AImplementations§
Source§impl<A, B, C, L> CallbackUpdater<A, B, C, L>
impl<A, B, C, L> CallbackUpdater<A, B, C, L>
pub fn new(count: C, before: B, after: A) -> CallbackUpdater<A, B, C, L>
Trait Implementations§
Source§impl<A, B, C, L> UpdateHandler<L> for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> UpdateHandler<L> for CallbackUpdater<A, B, C, L>
Source§fn count(&mut self, total: i32)
fn count(&mut self, total: i32)
Accepts
value indicating the total count
of all raw tendrils that will be processed.Source§fn before(&mut self, raw: RawTendril)
fn before(&mut self, raw: RawTendril)
Accepts
raw indicating the tendril that will be processed.
This is called before processing.Source§fn after(&mut self, report: TendrilReport<L>)
fn after(&mut self, report: TendrilReport<L>)
Accepts
report containing the result of the operation.
This is called after processing.Auto Trait Implementations§
impl<A, B, C, L> Freeze for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> RefUnwindSafe for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> Send for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> Sync for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> Unpin for CallbackUpdater<A, B, C, L>
impl<A, B, C, L> UnwindSafe for CallbackUpdater<A, B, C, L>
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