1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pub trait CastF32 { fn as_f32(self) -> f32; }
impl CastF32 for f32 { fn as_f32(self) -> f32 { self } }
impl CastF32 for f64 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for i8 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for i16 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for i32 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for i64 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for isize { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for u8 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for u16 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for u32 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for u64 { fn as_f32(self) -> f32 { self as f32 } }
impl CastF32 for usize { fn as_f32(self) -> f32 { self as f32 } }
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)