Struct progenitor_impl::Generator
source · pub struct Generator { /* private fields */ }
Implementations§
source§impl Generator
impl Generator
pub fn new(settings: &GenerationSettings) -> Self
pub fn generate_tokens(&mut self, spec: &OpenAPI) -> Result<TokenStream>
pub fn get_type_space(&self) -> &TypeSpace
pub fn uses_futures(&self) -> bool
pub fn uses_websockets(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Generator
impl !Send for Generator
impl !Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
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