reflect.Value.CanSet (method)
7 uses
reflect (current package)
value.go#L322: func (v Value) CanSet() bool {
encoding/binary
binary.go#L557: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
binary.go#L622: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
encoding/gob
decoder.go#L201: } else if !v.CanSet() {
encoding/json
decode.go#L460: if decodingNull && v.CanSet() {
decode.go#L721: if !subv.CanSet() {
src.elv.sh/pkg/eval
options.go#L32: if !struc.Field(i).CanSet() {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)