MCPcopy Create free account
hub / github.com/csskit/csskit / property

Method property

crates/css_ast/src/visit/visit_node.rs:56–58  ·  view source on GitHub ↗
(&self, kind: PropertyKind)

Source from the content-addressed store, hash-verified

54 /// Retrieve a named property from this node, if present.
55 #[inline]
56 pub fn property(&self, kind: PropertyKind) -> Option<Cursor> {
57 self.source.and_then(|s| s.get_property(kind))
58 }
59}

Callers 2

from_queryMethod · 0.80
build_displayMethod · 0.80

Calls 1

get_propertyMethod · 0.45

Tested by

no test coverage detected