pub struct OutputBuilder { /* private fields */ }Expand description
Implementations§
Source§impl OutputBuilder
impl OutputBuilder
Sourcepub fn tokens(self, tokens: impl Into<TokenStream>) -> Self
pub fn tokens(self, tokens: impl Into<TokenStream>) -> Self
Sets the generated token output.
Sourcepub fn diagnostic(self, diagnostic: Builder) -> Self
pub fn diagnostic(self, diagnostic: Builder) -> Self
Sets the diagnostic builder.
Trait Implementations§
Source§impl Clone for OutputBuilder
impl Clone for OutputBuilder
Source§fn clone(&self) -> OutputBuilder
fn clone(&self) -> OutputBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputBuilder
impl Debug for OutputBuilder
Source§impl Default for OutputBuilder
impl Default for OutputBuilder
Source§fn default() -> OutputBuilder
fn default() -> OutputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputBuilder
impl RefUnwindSafe for OutputBuilder
impl !Send for OutputBuilder
impl !Sync for OutputBuilder
impl Unpin for OutputBuilder
impl UnsafeUnpin for OutputBuilder
impl UnwindSafe for OutputBuilder
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