Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InteractiveComputerGraphics/splashsurf
/ try_convert
Method
try_convert
splashsurf_lib/src/traits.rs:225–227 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
223
224
#[inline]
225
fn try_convert<To: Real>(self) -> Option<To> {
226
<To as NumCast>::from(*self)
227
}
228
}
229
230
impl RealConvert for f32 {
Callers
1
convert
Method · 0.45
Calls
2
iter_mut
Method · 0.80
iter
Method · 0.45
Tested by
no test coverage detected