Docs.rs
rust_helpers-2.12.0
rust_helpers 2.12.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
ta3pks
Dependencies
base64_light ^0.1.5
normal
optional
futures ^0.3.31
normal
md5 ^0.8.0
normal
optional
rayon ^1.10.0
normal
optional
serde ^1.0.219
normal
optional
serde_json ^1.0.141
normal
optional
tap ^1.0.1
normal
tokio ^1.47.0
normal
optional
serde ^1.0.219
dev
Versions
18.28%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rust_
helpers
2.12.0
Cast
NumExt
Required Methods
cast_as
Implementations on Foreign Types
f32
f32
f32
f32
f32
f32
f32
f32
f32
f32
f32
f32
f32
f64
f64
f64
f64
f64
f64
f64
f64
f64
f64
f64
f64
f64
i8
i8
i8
i8
i8
i8
i8
i8
i8
i8
i8
i8
i8
i16
i16
i16
i16
i16
i16
i16
i16
i16
i16
i16
i16
i16
i32
i32
i32
i32
i32
i32
i32
i32
i32
i32
i32
i32
i32
i64
i64
i64
i64
i64
i64
i64
i64
i64
i64
i64
i64
i64
i128
i128
i128
i128
i128
i128
i128
i128
i128
i128
i128
i128
i128
isize
isize
isize
isize
isize
isize
isize
isize
isize
isize
isize
isize
isize
u8
u8
u8
u8
u8
u8
u8
u8
u8
u8
u8
u8
u8
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u32
u32
u32
u32
u32
u32
u32
u32
u32
u32
u32
u32
u32
u64
u64
u64
u64
u64
u64
u64
u64
u64
u64
u64
u64
u64
u128
u128
u128
u128
u128
u128
u128
u128
u128
u128
u128
u128
u128
usize
usize
usize
usize
usize
usize
usize
usize
usize
usize
usize
usize
usize
Implementors
In crate rust_
helpers
rust_helpers
Trait
CastNumExt
Copy item path
Source
pub trait CastNumExt<T> { // Required method fn
cast_as
(self) -> T; }
Required Methods
§
Source
fn
cast_as
(self) -> T
Implementations on Foreign Types
§
Source
§
impl
CastNumExt
<
f32
> for
f64
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
i8
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
i16
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
i32
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
i64
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
i128
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
isize
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
u8
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
u16
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
u32
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
u64
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
u128
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f32
> for
usize
Source
§
fn
cast_as
(self) ->
f32
Source
§
impl
CastNumExt
<
f64
> for
f32
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
i8
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
i16
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
i32
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
i64
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
i128
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
isize
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
u8
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
u16
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
u32
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
u64
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
u128
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
f64
> for
usize
Source
§
fn
cast_as
(self) ->
f64
Source
§
impl
CastNumExt
<
i8
> for
f32
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
f64
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
i16
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
i32
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
i64
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
i128
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
isize
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
u8
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
u16
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
u32
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
u64
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
u128
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i8
> for
usize
Source
§
fn
cast_as
(self) ->
i8
Source
§
impl
CastNumExt
<
i16
> for
f32
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
f64
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
i8
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
i32
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
i64
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
i128
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
isize
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
u8
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
u16
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
u32
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
u64
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
u128
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i16
> for
usize
Source
§
fn
cast_as
(self) ->
i16
Source
§
impl
CastNumExt
<
i32
> for
f32
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
f64
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
i8
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
i16
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
i64
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
i128
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
isize
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
u8
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
u16
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
u32
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
u64
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
u128
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i32
> for
usize
Source
§
fn
cast_as
(self) ->
i32
Source
§
impl
CastNumExt
<
i64
> for
f32
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
f64
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
i8
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
i16
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
i32
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
i128
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
isize
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
u8
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
u16
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
u32
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
u64
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
u128
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i64
> for
usize
Source
§
fn
cast_as
(self) ->
i64
Source
§
impl
CastNumExt
<
i128
> for
f32
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
f64
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
i8
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
i16
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
i32
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
i64
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
isize
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
u8
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
u16
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
u32
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
u64
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
u128
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
i128
> for
usize
Source
§
fn
cast_as
(self) ->
i128
Source
§
impl
CastNumExt
<
isize
> for
f32
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
f64
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
i8
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
i16
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
i32
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
i64
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
i128
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
u8
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
u16
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
u32
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
u64
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
u128
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
isize
> for
usize
Source
§
fn
cast_as
(self) ->
isize
Source
§
impl
CastNumExt
<
u8
> for
f32
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
f64
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
i8
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
i16
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
i32
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
i64
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
i128
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
isize
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
u16
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
u32
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
u64
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
u128
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u8
> for
usize
Source
§
fn
cast_as
(self) ->
u8
Source
§
impl
CastNumExt
<
u16
> for
f32
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
f64
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
i8
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
i16
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
i32
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
i64
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
i128
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
isize
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
u8
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
u32
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
u64
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
u128
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u16
> for
usize
Source
§
fn
cast_as
(self) ->
u16
Source
§
impl
CastNumExt
<
u32
> for
f32
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
f64
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
i8
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
i16
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
i32
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
i64
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
i128
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
isize
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
u8
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
u16
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
u64
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
u128
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u32
> for
usize
Source
§
fn
cast_as
(self) ->
u32
Source
§
impl
CastNumExt
<
u64
> for
f32
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
f64
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
i8
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
i16
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
i32
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
i64
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
i128
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
isize
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
u8
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
u16
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
u32
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
u128
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u64
> for
usize
Source
§
fn
cast_as
(self) ->
u64
Source
§
impl
CastNumExt
<
u128
> for
f32
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
f64
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
i8
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
i16
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
i32
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
i64
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
i128
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
isize
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
u8
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
u16
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
u32
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
u64
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
u128
> for
usize
Source
§
fn
cast_as
(self) ->
u128
Source
§
impl
CastNumExt
<
usize
> for
f32
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
f64
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
i8
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
i16
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
i32
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
i64
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
i128
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
isize
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
u8
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
u16
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
u32
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
u64
Source
§
fn
cast_as
(self) ->
usize
Source
§
impl
CastNumExt
<
usize
> for
u128
Source
§
fn
cast_as
(self) ->
usize
Implementors
§