pub struct ScopeBounds {
pub start: Option<String>,
pub end: Option<String>,
}Expand description
@scope’s prelude, CSS Cascade 6 §3.5: the selectors for the scoping
roots and limits, as written; None for a root is the parent of the
<style> the rule is in, or the rule’s parent style rule.
Fields§
§start: Option<String>§end: Option<String>Implementations§
Source§impl ScopeBounds
impl ScopeBounds
Sourcepub fn parse(prelude: &[ComponentValue<'_>]) -> Option<ScopeBounds>
pub fn parse(prelude: &[ComponentValue<'_>]) -> Option<ScopeBounds>
[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?.
Trait Implementations§
Source§impl Clone for ScopeBounds
impl Clone for ScopeBounds
Source§impl Debug for ScopeBounds
impl Debug for ScopeBounds
Source§impl Default for ScopeBounds
impl Default for ScopeBounds
Source§impl Display for ScopeBounds
impl Display for ScopeBounds
Source§impl PartialEq for ScopeBounds
impl PartialEq for ScopeBounds
impl StructuralPartialEq for ScopeBounds
Auto Trait Implementations§
impl Forget for ScopeBounds
impl Freeze for ScopeBounds
impl Move for ScopeBounds
impl RefUnwindSafe for ScopeBounds
impl Send for ScopeBounds
impl Sync for ScopeBounds
impl Unpin for ScopeBounds
impl UnsafeUnpin for ScopeBounds
impl UnwindSafe for ScopeBounds
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