Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stranger6667/css-inline
/ has_namespace
Method
has_namespace
css-inline/src/html/element.rs:161–163 ·
view source on GitHub ↗
(&self, namespace: &Namespace)
Source
from the content-addressed store, hash-verified
159
160
#[inline]
161
fn has_namespace(&self, namespace: &Namespace) -> bool {
162
self.name().ns == *namespace
163
}
164
165
#[inline]
166
fn is_same_type(&self, other: &Self) -> bool {
Callers
nothing calls this directly
Calls
1
name
Method · 0.80
Tested by
no test coverage detected