mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-09 17:18:41 -06:00
inline descriptor
This commit is contained in:
parent
c865835e8d
commit
f5a4e2a532
|
@ -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