pub struct MmlCompilerBuilder { /* private fields */ }
Available on crate feature
compiler
only.Expand description
MML → MIME message compiler builder.
The compiler follows the builder pattern, where the build function
is named compile
.
Implementations§
Source§impl MmlCompilerBuilder
impl MmlCompilerBuilder
Sourcepub fn build(self, mml_msg: &str) -> Result<MmlCompiler<'_>>
pub fn build(self, mml_msg: &str) -> Result<MmlCompiler<'_>>
Build the final MmlCompiler based on the defined options.
Trait Implementations§
Source§impl Clone for MmlCompilerBuilder
impl Clone for MmlCompilerBuilder
Source§fn clone(&self) -> MmlCompilerBuilder
fn clone(&self) -> MmlCompilerBuilder
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 MmlCompilerBuilder
impl Debug for MmlCompilerBuilder
Source§impl Default for MmlCompilerBuilder
impl Default for MmlCompilerBuilder
Source§fn default() -> MmlCompilerBuilder
fn default() -> MmlCompilerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MmlCompilerBuilder
impl RefUnwindSafe for MmlCompilerBuilder
impl Send for MmlCompilerBuilder
impl Sync for MmlCompilerBuilder
impl Unpin for MmlCompilerBuilder
impl UnwindSafe for MmlCompilerBuilder
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