pub struct Readability { /* private fields */ }
Implementations§
Source§impl Readability
impl Readability
pub fn new() -> Readability
pub fn strip_unlikelys(&mut self, enabled: bool) -> &mut Self
pub fn weight_classes(&mut self, enabled: bool) -> &mut Self
pub fn clean_conditionally(&mut self, enabled: bool) -> &mut Self
pub fn clean_attributes(&mut self, enabled: bool) -> &mut Self
pub fn base_url<U>(&mut self, url: U) -> &mut Self
pub fn parse(&mut self, html: &str) -> (NodeRef, Metadata)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Readability
impl !RefUnwindSafe for Readability
impl !Send for Readability
impl !Sync for Readability
impl Unpin for Readability
impl !UnwindSafe for Readability
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