mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 11:58:21 -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