Struct readable_readability::Readability
source · pub struct Readability { /* private fields */ }Implementations
sourceimpl 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 Selfwhere
U: Into<Option<Url>>,
pub fn parse(&mut self, html: &str) -> (NodeRef, Metadata)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Readability
impl !Send for Readability
impl !Sync for Readability
impl Unpin for Readability
impl !UnwindSafe for Readability
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more