mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 05:08:21 -06:00
inline descriptor
This commit is contained in:
parent
bcffaa4562
commit
b63f2e4075
|
@ -35,6 +35,7 @@ pub trait BlockDescriptorSource {
|
|||
fn descriptor(self) -> BlockDescriptor;
|
||||
}
|
||||
impl BlockDescriptorSource for Block {
|
||||
#[inline]
|
||||
fn descriptor(self) -> BlockDescriptor {
|
||||
match self {
|
||||
Self::Air => BlockDescriptor {
|
||||
|
|
Loading…
Reference in a new issue