pub struct ConversionOptions {
pub preserve_styling: bool,
pub preserve_positioning: bool,
pub inline_karaoke: bool,
pub strip_formatting: bool,
pub format_options: FormatOptions,
}Available on crate feature
formats only.Expand description
Options for format conversion
Fields§
§preserve_styling: boolPreserve styling information when possible
preserve_positioning: boolPreserve positioning information when possible
inline_karaoke: boolConvert karaoke timing to inline format
strip_formatting: boolStrip all formatting tags
format_options: FormatOptionsTarget format-specific options
Trait Implementations§
Source§impl Clone for ConversionOptions
impl Clone for ConversionOptions
Source§fn clone(&self) -> ConversionOptions
fn clone(&self) -> ConversionOptions
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 ConversionOptions
impl Debug for ConversionOptions
Auto Trait Implementations§
impl Freeze for ConversionOptions
impl RefUnwindSafe for ConversionOptions
impl Send for ConversionOptions
impl Sync for ConversionOptions
impl Unpin for ConversionOptions
impl UnwindSafe for ConversionOptions
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