pub struct NamespaceAtRule {
pub prefix: Option<NamespacePrefix>,
pub url: NamespaceUrl,
}
Expand description
A @namespace
rule.
Fields§
§prefix: Option<NamespacePrefix>
The namespace prefix, and None
if it’s the default Namespace
url: NamespaceUrl
The actual namespace url.
Trait Implementations§
Source§impl Clone for NamespaceAtRule
impl Clone for NamespaceAtRule
Source§fn clone(&self) -> NamespaceAtRule
fn clone(&self) -> NamespaceAtRule
Returns a duplicate of the value. Read more
1.0.0 · 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 NamespaceAtRule
impl Debug for NamespaceAtRule
Source§impl PartialEq for NamespaceAtRule
impl PartialEq for NamespaceAtRule
Source§impl ToCss for NamespaceAtRule
impl ToCss for NamespaceAtRule
impl StructuralPartialEq for NamespaceAtRule
Auto Trait Implementations§
impl Freeze for NamespaceAtRule
impl RefUnwindSafe for NamespaceAtRule
impl Send for NamespaceAtRule
impl Sync for NamespaceAtRule
impl Unpin for NamespaceAtRule
impl UnwindSafe for NamespaceAtRule
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