Struct canadensis_data_types::uavcan::si::sample::torque::scalar_1_0::Scalar [−][src]
pub struct Scalar {
pub timestamp: SynchronizedTimestamp,
pub newton_meter: f32,
}
Expand description
uavcan.si.sample.torque.Scalar.1.0
Fixed size 11 bytes
Fields
timestamp: SynchronizedTimestamp
uavcan.time.SynchronizedTimestamp.1.0
Always aligned Size 56 bits
newton_meter: f32
saturated float32
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