pub struct Prepare<'a> { /* private fields */ }
Expand description
A prepared formatting operation.
See prepare.
Implementations§
Source§impl<'a> Prepare<'a>
impl<'a> Prepare<'a>
Sourcepub fn with_diagnostics(self, diagnostics: &'a mut Diagnostics) -> Self
pub fn with_diagnostics(self, diagnostics: &'a mut Diagnostics) -> Self
Associate diagnostics with the build.
Sourcepub fn with_options(self, options: &'a Options) -> Self
pub fn with_options(self, options: &'a Options) -> Self
Associate options with the build.
Auto Trait Implementations§
impl<'a> Freeze for Prepare<'a>
impl<'a> !RefUnwindSafe for Prepare<'a>
impl<'a> Send for Prepare<'a>
impl<'a> Sync for Prepare<'a>
impl<'a> Unpin for Prepare<'a>
impl<'a> !UnwindSafe for Prepare<'a>
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