Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
impl<
'a> From<&'
a Paint> for PaintRef<'a> {
66
fn from(paint: &'a Paint) -> Self {
67
paint.as_ref()
68
}
69
}
70
71
impl<
'a> From<PaintRef<'
a>> for BrushRef<'a> {
Callers
nothing calls this directly
Calls
1
as_ref
Method · 0.80
Tested by
no test coverage detected