/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! The `@namespace` at-rule.
usecrate::derives::*; usecrate::shared_lock::{SharedRwLockReadGuard, ToCssWithGuard}; usecrate::{Namespace, Prefix}; use cssparser::SourceLocation; use std::fmt::{self, Write}; use style_traits::{CssStringWriter, CssWriter, ToCss};
/// A `@namespace` rule. #[derive(Clone, Debug, PartialEq, ToShmem)] #[allow(missing_docs)] pubstruct NamespaceRule { /// The namespace prefix, and `None` if it's the default Namespace pub prefix: Option<Prefix>, /// The actual namespace url. pub url: Namespace, /// The source location this rule was found at. pub source_location: SourceLocation,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.