Docs.rs
swarm-bot-packets-0.2.1
swarm-bot-packets 0.2.1
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
andrewgazelka
Dependencies
bytes ^1.0
normal
swarm-bot-packets-macro ^0.1.2
normal
tokio ^1.24
normal
Versions
1.89%
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
swarm_
bot_
packets
0.2.1
Byte
Writable
Required Methods
write_to_bytes
Implementations on Foreign Types
&[u8]
String
Vec<u8>
bool
f32
f64
i16
u8
u16
u64
u128
Implementors
In swarm_
bot_
packets::
write
swarm_bot_packets
::
write
Trait
ByteWritable
Copy item path
Source
pub trait ByteWritable { // Required method fn
write_to_bytes
(self, writer: &mut
ByteWriter
); }
Required Methods
§
Source
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Implementations on Foreign Types
§
Source
§
impl
ByteWritable
for &[
u8
]
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
bool
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
f32
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
f64
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
i16
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
u8
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
u16
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
u64
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
u128
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
String
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Source
§
impl
ByteWritable
for
Vec
<
u8
>
Source
§
fn
write_to_bytes
(self, writer: &mut
ByteWriter
)
Implementors
§
Source
§
impl
ByteWritable
for
RawVec
Source
§
impl
ByteWritable
for
UUID
Source
§
impl
ByteWritable
for
VarInt