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§fn clone(&self) -> ScopeBounds
fn clone(&self) -> ScopeBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScopeBounds
impl Debug for ScopeBounds
Source§impl Default for ScopeBounds
impl Default for ScopeBounds
Source§fn default() -> ScopeBounds
fn default() -> ScopeBounds
Returns the “default value” for a type. Read more
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 ScopeBoundswhere
RawVecInner: Send,
impl Sync for ScopeBoundswhere
RawVecInner: Sync,
impl Unpin for ScopeBounds
impl UnsafeUnpin for ScopeBounds
impl UnwindSafe for ScopeBoundswhere
RawVecInner: UnwindSafe,
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