pub struct ContainerQueryParser;Expand description
Parses a StyleQuery from text.
Implementations§
Source§impl ContainerQueryParser
impl ContainerQueryParser
Sourcepub fn parse(
&self,
s: &str,
) -> Result<Option<StyleQuery>, ContainerQueryParserError>
pub fn parse( &self, s: &str, ) -> Result<Option<StyleQuery>, ContainerQueryParserError>
Parses a StyleQuery from text. None for an empty query.
Trait Implementations§
Source§impl Clone for ContainerQueryParser
impl Clone for ContainerQueryParser
impl Copy for ContainerQueryParser
Source§impl Debug for ContainerQueryParser
impl Debug for ContainerQueryParser
Auto Trait Implementations§
impl Freeze for ContainerQueryParser
impl RefUnwindSafe for ContainerQueryParser
impl Send for ContainerQueryParser
impl Sync for ContainerQueryParser
impl Unpin for ContainerQueryParser
impl UnsafeUnpin for ContainerQueryParser
impl UnwindSafe for ContainerQueryParser
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more