#[repr(C)]pub struct Image {
pub header: Header,
pub height: u32,
pub width: u32,
pub encoding: RosString<0>,
pub is_bigendian: u8,
pub step: u32,
pub data: U8Seq<0>,
}Fields§
§header: Header§height: u32§width: u32§encoding: RosString<0>§is_bigendian: u8§step: u32§data: U8Seq<0>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 RosFieldType for Image
impl RosFieldType for Image
Source§fn ros_field_type() -> FieldType
fn ros_field_type() -> FieldType
Returns the FieldType for this type when used as a field.
Source§fn referenced_types() -> Vec<IndividualTypeDescription>
fn referenced_types() -> Vec<IndividualTypeDescription>
Returns referenced type descriptions (empty for primitives, populated for nested types).
Source§impl TypeDescription for Image
impl TypeDescription for Image
Source§fn type_description() -> TypeDescriptionMsg
fn type_description() -> TypeDescriptionMsg
Get the type description for this type Read more
Source§fn message_type_name() -> MessageTypeName
fn message_type_name() -> MessageTypeName
Get the message type name information Read more
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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