pub struct PLAY_TUNE_DATA {
pub target_system: u8,
pub target_component: u8,
pub tune: CharArray<30>,
pub tune2: CharArray<200>,
}๐Deprecated: New version explicitly defines format. More interoperable. See
PLAY_TUNE_V2 (Deprecated since 2019-10)Available on crate feature
python_array_test only.Expand description
Control vehicle tone generation (buzzer).
ID: 258
Fieldsยง
ยงtarget_system: u8๐Deprecated: New version explicitly defines format. More interoperable. See
PLAY_TUNE_V2 (Deprecated since 2019-10)System ID
target_component: u8๐Deprecated: New version explicitly defines format. More interoperable. See
PLAY_TUNE_V2 (Deprecated since 2019-10)Component ID
tune: CharArray<30>๐Deprecated: New version explicitly defines format. More interoperable. See
PLAY_TUNE_V2 (Deprecated since 2019-10)tune in board specific format
tune2: CharArray<200>๐Deprecated: New version explicitly defines format. More interoperable. See
PLAY_TUNE_V2 (Deprecated since 2019-10)tune extension (appended to tune)
Implementationsยง
Trait Implementationsยง
Sourceยงimpl<'arbitrary> Arbitrary<'arbitrary> for PLAY_TUNE_DATA
impl<'arbitrary> Arbitrary<'arbitrary> for PLAY_TUNE_DATA
Sourceยงfn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSourceยงfn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSourceยงfn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSourceยงfn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSourceยงimpl Clone for PLAY_TUNE_DATA
impl Clone for PLAY_TUNE_DATA
Sourceยงfn clone(&self) -> PLAY_TUNE_DATA
fn clone(&self) -> PLAY_TUNE_DATA
Returns a duplicate 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 PLAY_TUNE_DATA
impl Debug for PLAY_TUNE_DATA
Sourceยงimpl Default for PLAY_TUNE_DATA
impl Default for PLAY_TUNE_DATA
Sourceยงimpl<'de> Deserialize<'de> for PLAY_TUNE_DATA
impl<'de> Deserialize<'de> for PLAY_TUNE_DATA
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MessageData for PLAY_TUNE_DATA
impl MessageData for PLAY_TUNE_DATA
Sourceยงimpl PartialEq for PLAY_TUNE_DATA
impl PartialEq for PLAY_TUNE_DATA
Sourceยงimpl Serialize for PLAY_TUNE_DATA
impl Serialize for PLAY_TUNE_DATA
impl StructuralPartialEq for PLAY_TUNE_DATA
Auto Trait Implementationsยง
impl Freeze for PLAY_TUNE_DATA
impl RefUnwindSafe for PLAY_TUNE_DATA
impl Send for PLAY_TUNE_DATA
impl Sync for PLAY_TUNE_DATA
impl Unpin for PLAY_TUNE_DATA
impl UnwindSafe for PLAY_TUNE_DATA
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