Struct canadensis_data_types::reg::udral::service::actuator::common::sp::scalar_0_1::Scalar [−][src]
#[repr(C, packed)]pub struct Scalar {
pub value: f16,
}
Expand description
reg.udral.service.actuator.common.sp.Scalar.0.1
Fixed size 2 bytes
Fields
value: f16
saturated float16
Always aligned Size 16 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