Struct bluerobotics_ping::ping1d::SetModeAutoStruct
source · pub struct SetModeAutoStruct {
pub mode_auto: u8,
}Expand description
Set automatic or manual mode. Manual mode allows for manual selection of the gain and scan range.
Fields§
§mode_auto: u80: manual mode. 1: auto mode.
Trait Implementations§
source§impl Clone for SetModeAutoStruct
impl Clone for SetModeAutoStruct
source§fn clone(&self) -> SetModeAutoStruct
fn clone(&self) -> SetModeAutoStruct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SetModeAutoStruct
impl Debug for SetModeAutoStruct
source§impl Default for SetModeAutoStruct
impl Default for SetModeAutoStruct
source§fn default() -> SetModeAutoStruct
fn default() -> SetModeAutoStruct
Returns the “default value” for a type. Read more
source§impl DeserializePayload for SetModeAutoStruct
impl DeserializePayload for SetModeAutoStruct
fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetModeAutoStruct
impl MessageInfo for SetModeAutoStruct
source§impl PartialEq for SetModeAutoStruct
impl PartialEq for SetModeAutoStruct
source§fn eq(&self, other: &SetModeAutoStruct) -> bool
fn eq(&self, other: &SetModeAutoStruct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SerializePayload for SetModeAutoStruct
impl SerializePayload for SetModeAutoStruct
impl StructuralPartialEq for SetModeAutoStruct
Auto Trait Implementations§
impl Freeze for SetModeAutoStruct
impl RefUnwindSafe for SetModeAutoStruct
impl Send for SetModeAutoStruct
impl Sync for SetModeAutoStruct
impl Unpin for SetModeAutoStruct
impl UnwindSafe for SetModeAutoStruct
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