type golang.org/x/text/width.Properties
11 uses
golang.org/x/text/width (current package)
width.go#L74: func Lookup(b []byte) (p Properties, size int) {
width.go#L76: return Properties{elem(v), b[sz-1]}, sz
width.go#L81: func LookupString(s string) (p Properties, size int) {
width.go#L83: return Properties{elem(v), s[sz-1]}, sz
width.go#L87: func LookupRune(r rune) Properties {
width.go#L95: return Properties{elem(v), last}
width.go#L99: type Properties struct {
width.go#L110: func (p Properties) Kind() Kind {
width.go#L115: func (p Properties) Folded() rune {
width.go#L127: func (p Properties) Narrow() rune {
width.go#L139: func (p Properties) Wide() rune {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |