pub struct TextStreamOptions {
pub min_font_size: f64,
pub max_buffer_size: usize,
pub preserve_formatting: bool,
pub sort_by_position: bool,
}Expand description
Options for text streaming
Fields§
§min_font_size: f64Minimum text size to include
max_buffer_size: usizeMaximum buffer size for text chunks
preserve_formatting: boolWhether to preserve formatting
sort_by_position: boolWhether to sort by position
Trait Implementations§
Source§impl Clone for TextStreamOptions
impl Clone for TextStreamOptions
Source§fn clone(&self) -> TextStreamOptions
fn clone(&self) -> TextStreamOptions
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 TextStreamOptions
impl Debug for TextStreamOptions
Auto Trait Implementations§
impl Freeze for TextStreamOptions
impl RefUnwindSafe for TextStreamOptions
impl Send for TextStreamOptions
impl Sync for TextStreamOptions
impl Unpin for TextStreamOptions
impl UnwindSafe for TextStreamOptions
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