Move types into separate module
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
use bytes::BytesMut;
|
||||
use err::Error;
|
||||
use netpod::NanoRange;
|
||||
use netpod::ScalarType;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::time::Duration;
|
||||
@@ -57,20 +56,6 @@ impl std::fmt::Debug for ValuesDim1 {
|
||||
}
|
||||
}
|
||||
|
||||
pub enum Fits {
|
||||
Empty,
|
||||
Lower,
|
||||
Greater,
|
||||
Inside,
|
||||
PartlyLower,
|
||||
PartlyGreater,
|
||||
PartlyLowerAndGreater,
|
||||
}
|
||||
|
||||
pub trait FitsInside {
|
||||
fn fits_inside(&self, range: NanoRange) -> Fits;
|
||||
}
|
||||
|
||||
trait NumEx {
|
||||
const BY: usize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user