Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedrock-crustaceans/bedrock-rs
/ functions
Functions
554 in github.com/bedrock-crustaceans/bedrock-rs
⨍
Functions
554
◇
Types & classes
1,150
↓ 4,739 callers
Function
deserialize
Deserializes a block version.
crates/level/src/subchunk.rs:48
↓ 4,655 callers
Function
serialize
Serde requirement.
crates/level/src/subchunk.rs:58
↓ 500 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v818.rs:8580
↓ 459 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v1001.rs:9494
↓ 453 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v975.rs:9360
↓ 449 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v944.rs:9282
↓ 437 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v924.rs:9037
↓ 423 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v898.rs:8738
↓ 419 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v859.rs:8662
↓ 417 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v786.rs:8615
↓ 417 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v844.rs:8621
↓ 415 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v819.rs:8580
↓ 415 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v776.rs:8574
↓ 415 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v827.rs:8580
↓ 415 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v800.rs:8581
↓ 411 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v766.rs:8492
↓ 409 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v748.rs:8449
↓ 405 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v729.rs:8372
↓ 401 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v712.rs:8293
↓ 393 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v686.rs:8132
↓ 393 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v662.rs:8131
↓ 391 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v671.rs:8093
↓ 391 callers
Method
as_ref
(&self)
crates/protocol/src/generated/v685.rs:8094
↓ 90 callers
Method
len
(&self)
crates/level/src/lazy.rs:183
↓ 65 callers
Method
iter
Creates an iterator over this array.
crates/level/src/lazy.rs:28
↓ 17 callers
Method
as_ptr
Yields the FFI database pointer.
crates/level/src/mojang/db.rs:94
↓ 14 callers
Method
as_ref
(&self)
crates/level/src/mojang/db.rs:41
↓ 11 callers
Method
insert
Inserts a key-value pair into the database.
crates/level/src/mojang/db.rs:142
↓ 11 callers
Method
keys
Creates an iterator over all the keys in this database.
crates/level/src/mojang/db.rs:99
↓ 10 callers
Method
get
Returns the value at `index`. # Panics This function panics if the index is greater than or equal to 4096.
crates/level/src/lazy.rs:47
↓ 7 callers
Method
is_empty
Whether this subchunk layer is empty.
crates/level/src/subchunk.rs:297
↓ 7 callers
Method
words
The packed words that this array consists of.
crates/level/src/lazy.rs:38
↓ 7 callers
Method
write
(&mut self, packet: T)
crates/network/src/connection/shard/arc.rs:24
↓ 6 callers
Function
get_attrs
(attrs: &[Attribute])
crates/macros/src/attr.rs:72
↓ 6 callers
Method
send
(&mut self, packets: &[V])
crates/network/src/connection/mod.rs:53
↓ 5 callers
Method
into_iter
(self)
crates/level/src/lazy.rs:198
↓ 5 callers
Method
len
(&self)
crates/level/src/subchunk.rs:121
↓ 4 callers
Function
build_de_instance
(endianness: Option<ProtoCodecEndianness>, f_type: &Type)
crates/macros/src/de.rs:6
↓ 4 callers
Function
build_ser_instance
( endianness: Option<ProtoCodecEndianness>, f_type: &Type, f_name: TokenStream, )
crates/macros/src/ser.rs:6
↓ 4 callers
Function
build_size_instance
( endianness: Option<ProtoCodecEndianness>, f_type: &Type, f_name: TokenStream, )
crates/macros/src/size.rs:6
↓ 4 callers
Method
initialize
Attempts to initialize an array on the stack, using a fallible `op`. If a call to `op` fails or panics, this function will return the error and all p
crates/protocol_core/src/types/slice.rs:28
↓ 4 callers
Method
key
Returns the key of this tuple.
crates/level/src/mojang/iter.rs:14
↓ 4 callers
Method
recv
(&mut self)
crates/network/src/connection/mod.rs:68
↓ 4 callers
Function
translate_ffi_error
# Safety This function must only be called if `result.success` is not `leveldb_sys::Result::Success` and `result.data` is a C-style string ending in
crates/level/src/mojang/db.rs:212
↓ 4 callers
Method
value
Returns the value in this tuple.
crates/level/src/mojang/iter.rs:41
↓ 3 callers
Method
as_ref
(&self)
crates/protocol/src/generated/unknown.rs:576
↓ 3 callers
Method
collapse
(&self, map: &mut BTreeMap<Ident, TokenStream>)
xtask/src/codegen/protocol/diff.rs:30
↓ 3 callers
Function
extract_inner_type_from_vec
(ty: &Type)
crates/macros/src/attr.rs:115
↓ 3 callers
Method
get
Retrieves the block at `position`.
crates/level/src/subchunk.rs:177
↓ 3 callers
Function
open_test_db
()
crates/level/tests/test.rs:32
↓ 3 callers
Method
read
(&mut self)
crates/network/src/connection/shard/arc.rs:32
↓ 3 callers
Function
to_offset
(position: BlockPosition)
crates/level/src/subchunk.rs:334
↓ 3 callers
Method
write
(&self, _writer: W)
crates/level/src/settings.rs:240
↓ 2 callers
Function
build_de_fields
(fields: Fields)
crates/macros/src/de.rs:79
↓ 2 callers
Function
build_ser_fields
( fields: Fields, f_prefix: Option<TokenStream>, vec_by_ref: bool, )
crates/macros/src/ser.rs:94
↓ 2 callers
Function
build_size_fields
( fields: Fields, f_prefix: Option<TokenStream>, vec_by_ref: bool, )
crates/macros/src/size.rs:94
↓ 2 callers
Function
extract_test_dir
()
crates/level/tests/test.rs:20
↓ 2 callers
Method
get_layer
(&self, index: usize)
crates/level/src/subchunk.rs:387
↓ 2 callers
Method
id
(&self)
crates/protocol_core/src/lib.rs:65
↓ 2 callers
Method
iter
Creates an iterator over the blocks in this layer. This iterates over every indices
crates/level/src/subchunk.rs:292
↓ 2 callers
Method
serialize
(&self, mut writer: W)
crates/level/src/key.rs:100
↓ 2 callers
Method
size_hint
(&self)
crates/level/src/key.rs:84
↓ 2 callers
Method
trailer
(&self, buf: &[u8], counter: u64)
crates/network/src/encryption.rs:78
↓ 2 callers
Method
unpack
(words: &[u32], bits: u8)
crates/level/src/greedy.rs:93
↓ 1 callers
Method
accept
(&mut self)
crates/network/src/listener.rs:83
↓ 1 callers
Method
bits
The amount of bits that are currently being used by this array.
crates/level/src/lazy.rs:33
↓ 1 callers
Function
build
(input: TokenStream, path: &std::path::Path)
xtask/src/codegen/protocol/mod.rs:23
↓ 1 callers
Function
build_de_enum
(data_enum: &DataEnum, attrs: &[Attribute], name: Ident)
crates/macros/src/de.rs:133
↓ 1 callers
Function
build_de_field
(fields: &[&Field])
crates/macros/src/de.rs:23
↓ 1 callers
Function
build_de_struct
(data_struct: &DataStruct)
crates/macros/src/de.rs:117
↓ 1 callers
Function
build_ser_enum
(data_enum: &DataEnum, attrs: &[Attribute])
crates/macros/src/ser.rs:144
↓ 1 callers
Function
build_ser_field
( fields: &[&Field], f_prefix: Option<TokenStream>, vec_by_ref: bool, )
crates/macros/src/ser.rs:27
↓ 1 callers
Function
build_ser_struct
(data_struct: &DataStruct)
crates/macros/src/ser.rs:136
↓ 1 callers
Function
build_size_enum
(data_enum: &DataEnum, attrs: &[Attribute])
crates/macros/src/size.rs:146
↓ 1 callers
Function
build_size_field
( fields: &[&Field], f_prefix: Option<TokenStream>, vec_by_ref: bool, )
crates/macros/src/size.rs:27
↓ 1 callers
Function
build_size_struct
(data_struct: &DataStruct)
crates/macros/src/size.rs:136
↓ 1 callers
Function
clear_directory
(path: &str)
xtask/src/main.rs:33
↓ 1 callers
Method
close
(&self)
crates/network/src/connection/mod.rs:86
↓ 1 callers
Method
compress
(&self, src: Vec<u8>)
crates/network/src/compression.rs:57
↓ 1 callers
Function
compress_packets
( mut packet_stream: Vec<u8>, compression: Option<&Compression>, )
crates/network/src/codec.rs:91
↓ 1 callers
Method
contains
Whether the palette contains the given block.
crates/level/src/subchunk.rs:214
↓ 1 callers
Method
decompress
(&self, mut src: Vec<u8>)
crates/network/src/compression.rs:111
↓ 1 callers
Function
decompress_packets
( mut packet_stream: Vec<u8>, compression: Option<&Compression>, )
crates/network/src/codec.rs:102
↓ 1 callers
Method
decrypt
(&mut self, buf: Vec<u8>)
crates/network/src/encryption.rs:58
↓ 1 callers
Function
decrypt_packets
( mut packet_stream: Vec<u8>, encryption: Option<&mut Encryption>, )
crates/network/src/codec.rs:124
↓ 1 callers
Method
discriminant
Returns the discriminant of `self`.
crates/level/src/key.rs:45
↓ 1 callers
Method
encrypt
(&mut self, buf: Vec<u8>)
crates/network/src/encryption.rs:44
↓ 1 callers
Function
encrypt_packets
( mut packet_stream: Vec<u8>, encryption: Option<&mut Encryption>, )
crates/network/src/codec.rs:113
↓ 1 callers
Function
extract_test_db
()
crates/level/benches/subchunk.rs:13
↓ 1 callers
Method
get_layer_mut
(&mut self, index: usize)
crates/level/src/subchunk.rs:395
↓ 1 callers
Function
greedy_iter_benchmark
(data: &SubChunk)
crates/level/benches/subchunk.rs:43
↓ 1 callers
Function
greedy_load_benchmark
(data: &[u8])
crates/level/benches/subchunk.rs:38
↓ 1 callers
Function
handle_login
(mut unknown_conn: Connection<Unknown>)
examples/server.rs:56
↓ 1 callers
Method
hash
Hashes this block.
crates/level/src/subchunk.rs:87
↓ 1 callers
Method
into_iter
(self)
crates/level/src/bits.rs:156
↓ 1 callers
Function
lazy_iter_benchmark
(data: &SubChunk)
crates/level/benches/subchunk.rs:30
↓ 1 callers
Function
lazy_load_benchmark
(data: &[u8])
crates/level/benches/subchunk.rs:25
↓ 1 callers
Method
len
(&self)
crates/level/src/greedy.rs:425
↓ 1 callers
Method
pack_into
Packs the array into a given array of words using the given amount of bits per block.
crates/level/src/greedy.rs:36
↓ 1 callers
Method
parse
(input: ParseStream)
crates/macros/src/lib.rs:90
next →
1–100 of 554, ranked by callers