pub struct ImportPrelude<'a> {
pub href: ImportPreludeHref<'a>,
pub layer: Option<ImportPreludeLayer<'a>>,
pub supports: Option<ImportPreludeSupports<'a>>,
pub media: Option<MediaQueryList<'a>>,
pub modifiers: Option<ComponentValues<'a>>,
pub span: Span,
}Fields§
§href: ImportPreludeHref<'a>§layer: Option<ImportPreludeLayer<'a>>§supports: Option<ImportPreludeSupports<'a>>§media: Option<MediaQueryList<'a>>§modifiers: Option<ComponentValues<'a>>Import modifiers that don’t fit the layer()/supports()/media-query
grammar, kept as raw component values — reference compilers accept an
arbitrary mix of idents, functions, and parens here, and a comma may
even chain further imports (@import "a" b c(d), "e" supports(f: g);).
When present, layer/supports/media are None and the whole
post-URL tail lives here.
span: SpanImplementations§
§impl<'a> ImportPrelude<'a>
impl<'a> ImportPrelude<'a>
Trait Implementations§
Source§impl<'a> Debug for ImportPrelude<'a>
impl<'a> Debug for ImportPrelude<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ImportPrelude<'a>
impl<'a> !Send for ImportPrelude<'a>
impl<'a> !Sync for ImportPrelude<'a>
impl<'a> !UnwindSafe for ImportPrelude<'a>
impl<'a> Freeze for ImportPrelude<'a>
impl<'a> Unpin for ImportPrelude<'a>
impl<'a> UnsafeUnpin for ImportPrelude<'a>
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