pub struct ReaderSettings {Show 23 fields
pub finished: FinishedAction,
pub south_east_corner: SouthEastCornerAction,
pub bottom_right_gesture: BottomRightGestureAction,
pub south_strip: SouthStripAction,
pub west_strip: WestStripAction,
pub east_strip: EastStripAction,
pub strip_width: f32,
pub corner_width: f32,
pub font_path: String,
pub font_family: String,
pub font_size: f32,
pub min_font_size: f32,
pub max_font_size: f32,
pub text_align: TextAlign,
pub margin_width: i32,
pub min_margin_width: i32,
pub max_margin_width: i32,
pub line_height: f32,
pub continuous_fit_to_width: bool,
pub ignore_document_css: bool,
pub dithered_kinds: FxHashSet<String>,
pub paragraph_breaker: ParagraphBreakerSettings,
pub refresh_rate: RefreshRateSettings,
}Fields§
§finished: FinishedAction§south_east_corner: SouthEastCornerAction§bottom_right_gesture: BottomRightGestureAction§south_strip: SouthStripAction§west_strip: WestStripAction§east_strip: EastStripAction§strip_width: f32§corner_width: f32§font_path: String§font_family: String§font_size: f32§min_font_size: f32§max_font_size: f32§text_align: TextAlign§margin_width: i32§min_margin_width: i32§max_margin_width: i32§line_height: f32§continuous_fit_to_width: bool§ignore_document_css: bool§dithered_kinds: FxHashSet<String>§paragraph_breaker: ParagraphBreakerSettings§refresh_rate: RefreshRateSettingsTrait Implementations§
Source§impl Clone for ReaderSettings
impl Clone for ReaderSettings
Source§fn clone(&self) -> ReaderSettings
fn clone(&self) -> ReaderSettings
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 ReaderSettings
impl Debug for ReaderSettings
Source§impl Default for ReaderSettings
impl Default for ReaderSettings
Source§impl<'de> Deserialize<'de> for ReaderSettingswhere
ReaderSettings: Default,
impl<'de> Deserialize<'de> for ReaderSettingswhere
ReaderSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReaderSettings
impl RefUnwindSafe for ReaderSettings
impl Send for ReaderSettings
impl Sync for ReaderSettings
impl Unpin for ReaderSettings
impl UnwindSafe for ReaderSettings
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.