Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ to_f32
Method
to_f32
perro_source/core/perro_structs/src/structs/unorm.rs:34–36 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
32
33
#[inline]
34
pub const fn to_f32(self) -> f32 {
35
self.0 as f32 / 255.0
36
}
37
}
38
39
impl From<u8> for Unit {
Callers
15
to_variant
Method · 0.45
to_json_value
Method · 0.45
from
Method · 0.45
r
Method · 0.45
g
Method · 0.45
b
Method · 0.45
a
Method · 0.45
to_array
Method · 0.45
to_tuple
Method · 0.45
as_vector3
Method · 0.45
to_array
Method · 0.45
to_tuple
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected