Struct progenitor_impl::GenerationSettings
source · [−]pub struct GenerationSettings { /* private fields */ }Implementations
sourceimpl GenerationSettings
impl GenerationSettings
pub fn new() -> Self
pub fn with_interface(&mut self, interface: InterfaceStyle) -> &mut Self
pub fn with_tag(&mut self, tag: TagStyle) -> &mut Self
pub fn with_inner_type(&mut self, inner_type: TokenStream) -> &mut Self
pub fn with_pre_hook(&mut self, pre_hook: TokenStream) -> &mut Self
pub fn with_post_hook(&mut self, post_hook: TokenStream) -> &mut Self
pub fn with_derive(&mut self, derive: impl ToString) -> &mut Self
Trait Implementations
sourceimpl Clone for GenerationSettings
impl Clone for GenerationSettings
sourcefn clone(&self) -> GenerationSettings
fn clone(&self) -> GenerationSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for GenerationSettings
impl Default for GenerationSettings
sourcefn default() -> GenerationSettings
fn default() -> GenerationSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GenerationSettings
impl !Send for GenerationSettings
impl !Sync for GenerationSettings
impl Unpin for GenerationSettings
impl UnwindSafe for GenerationSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more