pub struct OnceBlock<F>(pub F)
where
F: FnOnce(Document) -> Document;
Tuple Fields§
§0: F
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for OnceBlock<F>where
F: Freeze,
impl<F> RefUnwindSafe for OnceBlock<F>where
F: RefUnwindSafe,
impl<F> Send for OnceBlock<F>where
F: Send,
impl<F> Sync for OnceBlock<F>where
F: Sync,
impl<F> Unpin for OnceBlock<F>where
F: Unpin,
impl<F> UnwindSafe for OnceBlock<F>where
F: UnwindSafe,
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