Struct canadensis_data_types::reg::udral::physics::acoustics::note_0_1::Note [−][src]
#[repr(C, packed)]pub struct Note {
pub frequency: Scalar,
pub duration: Scalar,
pub acoustic_power: Scalar,
}
Expand description
reg.udral.physics.acoustics.Note.0.1
Fixed size 12 bytes
Fields
frequency: Scalar
uavcan.si.unit.frequency.Scalar.1.0
Always aligned Size 32 bits
duration: Scalar
uavcan.si.unit.duration.Scalar.1.0
Always aligned Size 32 bits
acoustic_power: Scalar
uavcan.si.unit.power.Scalar.1.0
Always aligned Size 32 bits
Trait Implementations
The sealed or delimited property of this type
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
Deserializes a value and returns it
Deserializes a value from a slice of bytes and returns it Read more
A convenience function that creates a cursor around the provided bytes and calls
deserialize
Read more