Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bevyengine/bevy-website
/ new
Method
new
learning-code-examples/examples/quick-start/generic_plugin.rs:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
19
impl<T> YourPlugin<T> {
20
pub fn new() -> Self {
21
Self::default()
22
}
23
24
// …your other logic here…
25
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected