Files
inventory-plus-plus/server/ui/svg/rx.go
T
angel 82efe19ae0
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
prototyped svg reports
2026-08-19 23:19:41 -06:00

25 lines
338 B
Go

package svg
type (
RX struct {
*LengthAttr[RXTag]
}
RXP struct {
PercentageAttr[RXTag]
}
RXTag struct{}
)
func (l *Length) AsRX() RX {
return RX{LengthAttr: (*LengthAttr[RXTag])(l)}
}
func (p Percentage) AsRX() RXP {
return RXP{PercentageAttr: (PercentageAttr[RXTag])(p)}
}
func (RXTag) PrintTag() string {
return "rx"
}