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

Method preserve_sign

crates/css_parse/src/token_macros.rs:556–558  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

554 }
555
556 pub fn preserve_sign(self) -> Self {
557 if self.has_sign() { Self(self.0.with_sign_required()) } else { self }
558 }
559}
560
561impl<'a> Peek<'a> for Number {

Callers

nothing calls this directly

Calls 2

has_signMethod · 0.45
with_sign_requiredMethod · 0.45

Tested by

no test coverage detected