Docs.rs
binary_codec_sv2-1.0.0
binary_codec_sv2 1.0.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Fi3
SV2-bot
Dependencies
buffer_sv2 ^1.0.0
normal
optional
quickcheck ^1.0.0
normal
optional
Versions
20.29%
of the crate is documented
Go to latest version
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
binary_codec_sv2
1.0.0
U32AsRef
Aliased type
Methods
as_u32
Trait Implementations
Decodable<'a>
From<u32>
TryFrom<DecodableField<'a>>
TryFrom<EncodableField<'a>>
In crate binary_codec_sv2
?
Type Alias
binary_codec_sv2
::
U32AsRef
source
·
[
−
]
pub type U32AsRef<'a> = Inner<'a, true, 4, 0, 0>;
Aliased Type
§
enum U32AsRef<'a> {}
Variants
§
Implementations
§
source
§
impl<'a>
U32AsRef
<'a>
source
pub fn
as_u32
(&self) ->
u32
Trait Implementations
§
source
§
impl<'a>
Decodable
<'a> for
U32AsRef
<'a>
source
§
fn
get_structure
(_: &[
u8
]) ->
Result
<
Vec
<
FieldMarker
>,
Error
>
source
§
fn
from_decoded_fields
(data:
Vec
<
DecodableField
<'a>>) ->
Result
<Self,
Error
>
source
§
fn
from_bytes
(data: &'a mut [
u8
]) ->
Result
<Self,
Error
>
source
§
impl<'a>
From
<
u32
> for
U32AsRef
<'a>
source
§
fn
from
(v:
u32
) -> Self
Converts to this type from the input type.
source
§
impl<'a>
TryFrom
<
DecodableField
<'a>> for
U32AsRef
<'a>
§
type
Error
=
Error
The type returned in the event of a conversion error.
source
§
fn
try_from
(value:
DecodableField
<'a>) ->
Result
<Self, Self::
Error
>
Performs the conversion.
source
§
impl<'a>
TryFrom
<
EncodableField
<'a>> for
U32AsRef
<'a>
§
type
Error
=
Error
The type returned in the event of a conversion error.
source
§
fn
try_from
(value:
EncodableField
<'a>) ->
Result
<Self, Self::
Error
>
Performs the conversion.