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

Method from

crates/anyrender/src/types.rs:66–68  ·  view source on GitHub ↗
(paint: &'a Paint)

Source from the content-addressed store, hash-verified

64
65impl<'a> From<&'a Paint> for PaintRef<'a> {
66 fn from(paint: &'a Paint) -> Self {
67 paint.as_ref()
68 }
69}
70
71impl<'a> From<PaintRef<'a>> for BrushRef<'a> {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected