#[repr(u8)]pub enum PixelTest {
Show 25 variants
Off = 0,
ChannelSingle = 1,
ChannelSingleRotate = 2,
ChannelSingleRotateReverse = 3,
ChannelFlashAll = 4,
ChannelRoll = 5,
ChannelAllOn = 6,
PixelSingle = 7,
PixelSingleRotate = 8,
PixelSingleRotateReverse = 9,
PixelFlashAll = 10,
PixelRoll = 11,
PixelAllOn = 12,
ScanCodeSingle = 13,
ScanCodeSingleRotate = 14,
ScanCodeSingleRotateReverse = 15,
ScanCodeFlashAll = 16,
ScanCodeRoll = 17,
ScanCodeAllOn = 18,
PositionSingle = 19,
PositionSingleRotate = 20,
PositionSingleRotateReverse = 21,
PositionFlashAll = 22,
PositionRoll = 23,
PositionAllOn = 24,
}
Variants§
Off = 0
Disable pixel test mode
ChannelSingle = 1
Enable a single channel
ChannelSingleRotate = 2
Enable a single channel rotate forward (index is used for jump amount)
ChannelSingleRotateReverse = 3
Enable a single channel rotate in reverse (index is used for jump amount)
ChannelFlashAll = 4
ChannelRoll = 5
ChannelAllOn = 6
PixelSingle = 7
PixelSingleRotate = 8
PixelSingleRotateReverse = 9
PixelFlashAll = 10
PixelRoll = 11
PixelAllOn = 12
ScanCodeSingle = 13
ScanCodeSingleRotate = 14
ScanCodeSingleRotateReverse = 15
ScanCodeFlashAll = 16
ScanCodeRoll = 17
ScanCodeAllOn = 18
PositionSingle = 19
PositionSingleRotate = 20
PositionSingleRotateReverse = 21
PositionFlashAll = 22
PositionRoll = 23
PositionAllOn = 24
Trait Implementations§
impl Copy for PixelTest
impl Eq for PixelTest
impl StructuralPartialEq for PixelTest
Auto Trait Implementations§
impl Freeze for PixelTest
impl RefUnwindSafe for PixelTest
impl Send for PixelTest
impl Sync for PixelTest
impl Unpin for PixelTest
impl UnwindSafe for PixelTest
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