Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/primitive
/ Copy
Method
Copy
primitive/rectangle.go:52–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
}
51
52
func
(r *Rectangle) Copy() Shape {
53
a := *r
54
return
&a
55
}
56
57
func
(r *Rectangle) Mutate() {
58
w := r.Worker.W
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected