pub enum Command {
Show 13 variants
EnableConfig,
EndConfig,
SingleTargetTracking,
MultiTargetTracking,
QueryTrackingMode,
ReadFirmwareVersion,
SetBaudRate(BaudRateIndex),
RestoreFactory,
Restart,
SetBluetooth(bool),
GetMacAddress,
QueryZoneFilter,
SetZoneFilter {
filter_type: ZoneFilterType,
zones: [ZoneRect; 3],
},
}Expand description
Commands that can be sent to the LD2450.
Variants§
EnableConfig
EndConfig
SingleTargetTracking
MultiTargetTracking
QueryTrackingMode
ReadFirmwareVersion
SetBaudRate(BaudRateIndex)
RestoreFactory
Restart
SetBluetooth(bool)
GetMacAddress
QueryZoneFilter
SetZoneFilter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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