pub struct RenderOptions { /* private fields */ }Expand description
Rendering policy for source-to-HTML helpers.
Implementations§
Source§impl RenderOptions
impl RenderOptions
Sourcepub fn profile(&self) -> RenderProfile
pub fn profile(&self) -> RenderProfile
HTML spelling profile.
Sourcepub fn with_profile(self, profile: RenderProfile) -> Self
pub fn with_profile(self, profile: RenderProfile) -> Self
Override the HTML spelling profile.
Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
Source§fn clone(&self) -> RenderOptions
fn clone(&self) -> RenderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenderOptions
impl Debug for RenderOptions
Source§impl Default for RenderOptions
impl Default for RenderOptions
Source§fn default() -> RenderOptions
fn default() -> RenderOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderOptions
impl PartialEq for RenderOptions
Source§fn eq(&self, other: &RenderOptions) -> bool
fn eq(&self, other: &RenderOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderOptions
impl Eq for RenderOptions
impl StructuralPartialEq for RenderOptions
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin for RenderOptions
impl UnwindSafe for RenderOptions
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