pub enum LedMode {
Auto,
Manual(Rgb<u8>, f64),
}
Expand description
Vision Sensor LED mode.
Represents the states that the integrated LED indicator on a vision sensor can be in.
Variants§
Auto
Automatic Mode
When in automatic mode, the integrated LED will display the color of the most prominent detected object’s signature color.
Manual(Rgb<u8>, f64)
Manual Mode
When in manual mode, the integrated LED will display a user-set RGB color code and brightness percentage from 0.0-1.0.
Trait Implementations§
Source§impl From<LedMode> for V5VisionLedMode
impl From<LedMode> for V5VisionLedMode
impl Copy for LedMode
impl StructuralPartialEq for LedMode
Auto Trait Implementations§
impl Freeze for LedMode
impl RefUnwindSafe for LedMode
impl Send for LedMode
impl Sync for LedMode
impl Unpin for LedMode
impl UnwindSafe for LedMode
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