pub struct SourceGeneratorOptions { /* private fields */ }
Expand description
The type that implements the generator.
Implementations§
Source§impl SourceGeneratorOptions
impl SourceGeneratorOptions
pub fn with_level(self, level: SourceGenerationLevel) -> Self
pub fn with_indentation(self, indentation: usize) -> Self
Trait Implementations§
Source§impl Debug for SourceGeneratorOptions
impl Debug for SourceGeneratorOptions
Auto Trait Implementations§
impl Freeze for SourceGeneratorOptions
impl RefUnwindSafe for SourceGeneratorOptions
impl Send for SourceGeneratorOptions
impl Sync for SourceGeneratorOptions
impl Unpin for SourceGeneratorOptions
impl UnwindSafe for SourceGeneratorOptions
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