MCPcopy Create free account
hub / github.com/DioxusLabs/anyrender / new

Method new

crates/softbuffer_window_renderer/src/lib.rs:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32 pub const fn base_color(self, base_color: peniko::Color) -> Self {
33 Self { base_color, ..self }
34 }
35}
36
37impl From<anyrender::RendererConfig> for SoftbufferRendererOptions {
38 fn from(config: anyrender::RendererConfig) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected