pub enum Generator<F: Default> {
File(Box<dyn GenerateToFile<F>>),
Write(Box<dyn GenerateToWriter<F>>),
}
Variants§
File(Box<dyn GenerateToFile<F>>)
Write(Box<dyn GenerateToWriter<F>>)
Trait Implementations§
Auto Trait Implementations§
impl<F> !RefUnwindSafe for Generator<F>
impl<F> !Send for Generator<F>
impl<F> !Sync for Generator<F>
impl<F> Unpin for Generator<F>
impl<F> !UnwindSafe for Generator<F>
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