Docs.rs
static-atom-0.1.2
static-atom 0.1.2
Docs.rs crate page
MIT
Links
Repository
Crates.io
Source
Owners
1tgr
Dependencies
try_from ^0.2
normal
Versions
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
TryFrom
Required Associated Types
Err
Required Methods
try_from
Implementations on Foreign Types
char
char
char
char
char
char
char
char
char
char
char
i16
i16
i16
i16
i16
i16
i16
i16
i16
i16
i32
i32
i32
i32
i32
i32
i32
i32
i32
i32
i64
i64
i64
i64
i64
i64
i64
i64
i64
i64
i8
i8
i8
i8
i8
i8
i8
i8
i8
i8
isize
isize
isize
isize
isize
isize
isize
isize
isize
isize
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u32
u32
u32
u32
u32
u32
u32
u32
u32
u32
u64
u64
u64
u64
u64
u64
u64
u64
u64
u64
u8
u8
u8
u8
u8
u8
u8
u8
u8
u8
usize
usize
usize
usize
usize
usize
usize
usize
usize
usize
Implementors
In static_atom
?
Trait
static_atom
::
TryFrom
source
·
[
−
]
pub trait TryFrom<T>:
Sized
{ type
Err
; fn
try_from
(_: T) ->
Result
<Self, Self::
Err
>; }
Required Associated Types
source
type
Err
Required Methods
source
fn
try_from
(_: T) ->
Result
<Self, Self::
Err
>
Implementations on Foreign Types
source
impl
TryFrom
<
u64
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
u32
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
u32
,
Void
>
source
impl
TryFrom
<
i32
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
i32
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
i16
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
i8
> for
i32
type
Err
=
Void
source
fn
try_from
(n:
i8
) ->
Result
<
i32
,
Void
>
source
impl
TryFrom
<
u64
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
i8
> for
i16
type
Err
=
Void
source
fn
try_from
(n:
i8
) ->
Result
<
i16
,
Void
>
source
impl
TryFrom
<
u64
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
u32
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
u16
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u16
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
i32
type
Err
=
Void
source
fn
try_from
(n:
i32
) ->
Result
<
i32
,
Void
>
source
impl
TryFrom
<
i8
> for
u64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i8
) ->
Result
<
u64
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
u64
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
u64
,
Void
>
source
impl
TryFrom
<
isize
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
u32
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
u32
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
i8
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
i8
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
u16
> for
usize
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
usize
,
Void
>
source
impl
TryFrom
<
isize
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
i8
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i8
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
u64
type
Err
=
Void
source
fn
try_from
(n:
u64
) ->
Result
<
u64
,
Void
>
source
impl
TryFrom
<
u64
> for
i32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
i32
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
i32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
i32
,
TryFromIntError
>
source
impl
TryFrom
<
i16
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
i16
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
u8
> for
char
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
char
,
Void
>
source
impl
TryFrom
<
i64
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
i8
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
i8
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
u32
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
u32
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
u8
> for
u8
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
u8
,
Void
>
source
impl
TryFrom
<
i16
> for
i16
type
Err
=
Void
source
fn
try_from
(n:
i16
) ->
Result
<
i16
,
Void
>
source
impl
TryFrom
<
i64
> for
u64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
u64
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
u64
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
u64
,
Void
>
source
impl
TryFrom
<
i16
> for
u64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
u64
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
isize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
isize
,
TryFromIntError
>
source
impl
TryFrom
<
u32
> for
u64
type
Err
=
Void
source
fn
try_from
(n:
u32
) ->
Result
<
u64
,
Void
>
source
impl
TryFrom
<
i8
> for
i8
type
Err
=
Void
source
fn
try_from
(n:
i8
) ->
Result
<
i8
,
Void
>
source
impl
TryFrom
<
u8
> for
u16
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
u16
,
Void
>
source
impl
TryFrom
<
u16
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u16
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
i8
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i8
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
i32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
i32
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
u16
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
u16
,
Void
>
source
impl
TryFrom
<
i8
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
i8
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
i16
> for
i32
type
Err
=
Void
source
fn
try_from
(n:
i16
) ->
Result
<
i32
,
Void
>
source
impl
TryFrom
<
i64
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
isize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
isize
,
TryFromIntError
>
source
impl
TryFrom
<
u32
> for
usize
type
Err
=
Void
source
fn
try_from
(n:
u32
) ->
Result
<
usize
,
Void
>
source
impl
TryFrom
<
i16
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
i64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
i64
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
isize
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
u32
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
i16
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
i16
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
u32
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
i16
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
u32
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
u32
,
Void
>
source
impl
TryFrom
<
i32
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
i32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
i32
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
i32
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
i32
,
Void
>
source
impl
TryFrom
<
u16
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
usize
> for
u64
type
Err
=
Void
source
fn
try_from
(n:
usize
) ->
Result
<
u64
,
Void
>
source
impl
TryFrom
<
u8
> for
usize
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
usize
,
Void
>
source
impl
TryFrom
<
u32
> for
u32
type
Err
=
Void
source
fn
try_from
(n:
u32
) ->
Result
<
u32
,
Void
>
source
impl
TryFrom
<
usize
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
usize
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
i16
> for
usize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
usize
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
u16
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
usize
> for
isize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
isize
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
i16
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
i16
,
Void
>
source
impl
TryFrom
<
u32
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
u64
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
usize
> for
usize
type
Err
=
Void
source
fn
try_from
(n:
usize
) ->
Result
<
usize
,
Void
>
source
impl
TryFrom
<
i8
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i8
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
u16
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u16
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
i64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
i64
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
u32
> for
i32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
i32
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
isize
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
isize
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
i16
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i16
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u8
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i64
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
u64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
u64
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
u8
> for
i32
type
Err
=
Void
source
fn
try_from
(n:
u8
) ->
Result
<
i32
,
Void
>
source
impl
TryFrom
<
i8
> for
u8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i8
) ->
Result
<
u8
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
u32
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
u32
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
i64
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
i64
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
i32
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
i32
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
i8
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
i8
,
TryFromIntError
>
source
impl
TryFrom
<
i16
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
i16
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
u16
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
u16
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
isize
> for
u64
type
Err
=
TryFromIntError
source
fn
try_from
(n:
isize
) ->
Result
<
u64
,
TryFromIntError
>
source
impl
TryFrom
<
u64
> for
i16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u64
) ->
Result
<
i16
,
TryFromIntError
>
source
impl
TryFrom
<
i32
> for
i64
type
Err
=
Void
source
fn
try_from
(n:
i32
) ->
Result
<
i64
,
Void
>
source
impl
TryFrom
<
u32
> for
isize
type
Err
=
TryFromIntError
source
fn
try_from
(n:
u32
) ->
Result
<
isize
,
TryFromIntError
>
source
impl
TryFrom
<
usize
> for
u16
type
Err
=
TryFromIntError
source
fn
try_from
(n:
usize
) ->
Result
<
u16
,
TryFromIntError
>
source
impl
TryFrom
<
char
> for
char
type
Err
=
Void
source
fn
try_from
(n:
char
) ->
Result
<
char
,
Void
>
source
impl
TryFrom
<
i64
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
i64
) ->
Result
<
char
,
TryFromIntToCharError
>
source
impl
TryFrom
<
i32
> for
isize
type
Err
=
Void
source
fn
try_from
(n:
i32
) ->
Result
<
isize
,
Void
>
source
impl
TryFrom
<
isize
> for
char
type
Err
=
TryFromIntToCharError
source
fn
try_from
(n:
isize
) ->
Result
<
char
,
TryFromIntToCharError
>
Implementors
source
impl<'a, T>
TryFrom
<&'a
str
> for T
where
T:
FromStr
,
type
Err
= <T as
FromStr
>::
Err
source
impl<T>
TryFrom
<
char
> for T
where
T:
TryFrom
<
u32
, Err =
TryFromIntError
>,
type
Err
=
TryFromIntError