Docs.rs
unsigned-float-0.1.4
unsigned-float 0.1.4
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
SnowCheetos
Dependencies
Versions
100%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Skip to main content
Uf8
unsigned_
float
0.1.4
Uf8
Aliased Type
Trait Implementations
TryFrom<f64>
TryFrom<i8>
TryFrom<i16>
TryFrom<i32>
TryFrom<i64>
TryFrom<i128>
TryFrom<isize>
TryFrom<u8>
TryFrom<u16>
TryFrom<u32>
TryFrom<u64>
TryFrom<u128>
TryFrom<usize>
In crate unsigned_
float
unsigned_float
Type Alias
Uf8
Copy item path
Source
pub type Uf8 =
Uf8E4M4
;
Expand description
Default 8-bit unsigned float layout.
Aliased Type
§
pub struct Uf8(
/* private fields */
);
Trait Implementations
§
Source
§
impl
TryFrom
<
f64
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
f64
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
i128
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
i128
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
i16
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
i16
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
i32
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
i32
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
i64
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
i64
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
i8
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
i8
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
isize
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
isize
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
u128
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
u128
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
u16
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
u16
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
u32
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
u32
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
u64
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
u64
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
u8
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
u8
) ->
Result
<Self, Self::
Error
>
Performs the conversion.
Source
§
impl
TryFrom
<
usize
> for
Uf8
Source
§
type
Error
=
ConversionError
The type returned in the event of a conversion error.
Source
§
fn
try_from
(value:
usize
) ->
Result
<Self, Self::
Error
>
Performs the conversion.