pub struct HTMLDataManager { /* private fields */ }Implementations§
source§impl HTMLDataManager
impl HTMLDataManager
pub fn new( use_default_data_provider: bool, custom_data_providers: Option<Vec<Box<dyn IHTMLDataProvider>>>, ) -> HTMLDataManager
pub fn set_data_providers( &mut self, built_in: bool, providers: Vec<Box<dyn IHTMLDataProvider>>, )
pub fn get_data_providers(&self) -> &Vec<Box<dyn IHTMLDataProvider>>
pub fn is_void_element(&self, e: &str, void_elements: &Vec<String>) -> bool
pub fn get_void_elements(&self, language_id: &str) -> Vec<String>
pub fn is_path_attribute(&self, tag: &str, attr: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HTMLDataManager
impl !RefUnwindSafe for HTMLDataManager
impl Send for HTMLDataManager
impl Sync for HTMLDataManager
impl Unpin for HTMLDataManager
impl !UnwindSafe for HTMLDataManager
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