pub struct LayoutParser;Implementations§
Source§impl LayoutParser
impl LayoutParser
pub fn new() -> LayoutParser
Trait Implementations§
Source§impl Clone for LayoutParser
impl Clone for LayoutParser
Source§fn clone(&self) -> LayoutParser
fn clone(&self) -> LayoutParser
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 LayoutParser
impl Debug for LayoutParser
Source§impl Default for LayoutParser
impl Default for LayoutParser
Source§fn default() -> LayoutParser
fn default() -> LayoutParser
Returns the “default value” for a type. Read more
Source§impl UtilityParser for LayoutParser
impl UtilityParser for LayoutParser
Source§fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
Parse a class and return CSS properties
Source§fn get_supported_patterns(&self) -> Vec<&'static str>
fn get_supported_patterns(&self) -> Vec<&'static str>
Get supported patterns for this parser
Source§fn get_priority(&self) -> u32
fn get_priority(&self) -> u32
Get parser priority (higher = more specific)
Source§fn get_category(&self) -> ParserCategory
fn get_category(&self) -> ParserCategory
Get parser category
Auto Trait Implementations§
impl Freeze for LayoutParser
impl RefUnwindSafe for LayoutParser
impl Send for LayoutParser
impl Sync for LayoutParser
impl Unpin for LayoutParser
impl UnwindSafe for LayoutParser
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.