#[repr(i32)]pub enum Property {
Show 16 variants
Channel = 0,
GroupId = 1,
Y = 2,
X = 3,
AbsNMinusNw = 4,
AbsNMinusW = 5,
FloorLog2W = 6,
FloorLog2N = 7,
FloorLog2Nw = 8,
AbsNMinusNn = 9,
AbsWMinusWw = 10,
AbsNwMinusNww = 11,
AbsNeMinusN = 12,
AbsNwMinusW = 13,
SumWNNw = 14,
WpMaxError = 15,
}Expand description
Property indices for tree decisions.
Variants§
Channel = 0
Channel index.
GroupId = 1
Group ID.
Y = 2
Y coordinate.
X = 3
X coordinate.
AbsNMinusNw = 4
|N - NW|
AbsNMinusW = 5
|N - W|
FloorLog2W = 6
FloorLog2(W)
FloorLog2N = 7
FloorLog2(N)
FloorLog2Nw = 8
FloorLog2(NW)
AbsNMinusNn = 9
|N - NN|
AbsWMinusWw = 10
|W - WW|
AbsNwMinusNww = 11
|NW - NWW|
AbsNeMinusN = 12
|NE - N|
AbsNwMinusW = 13
|NW - W|
SumWNNw = 14
|W| + |N| + |NW|
WpMaxError = 15
Max error in weighted predictor.
Implementations§
Source§impl Property
impl Property
Sourcepub const NUM_STATIC: usize = 14
pub const NUM_STATIC: usize = 14
Total number of static properties (not including WP properties).
Sourcepub const NUM_PROPERTIES: usize = 16
pub const NUM_PROPERTIES: usize = 16
Total number of properties including WP.
Trait Implementations§
impl Copy for Property
impl Eq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more