pub struct RenderOptions { /* private fields */ }Expand description
Rendering options.
Implementations§
Source§impl RenderOptions
impl RenderOptions
Sourcepub const fn format(&self) -> RenderFormat
pub const fn format(&self) -> RenderFormat
Returns the rendering format.
Sourcepub const fn set_format(self, format: RenderFormat) -> Self
pub const fn set_format(self, format: RenderFormat) -> Self
Sets a rendering format.
Sourcepub const fn set_verbose(self, verbose: bool) -> Self
pub const fn set_verbose(self, verbose: bool) -> Self
Sets whether verbose output is enabled.
Trait Implementations§
Source§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
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 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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.