pub struct MessageHeader {
pub msg_size: u16,
pub msg_type: u8,
}
Expand description
A header for a ULog message, containing the message size and type.
The MessageHeader
struct represents the header of a ULog message, which includes
the size of the message in bytes (msg_size
) and the type of the message (msg_type
).
This header is used to parse the binary data of a ULog file.
Fields§
§msg_size: u16
§msg_type: u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MessageHeader
impl RefUnwindSafe for MessageHeader
impl Send for MessageHeader
impl Sync for MessageHeader
impl Unpin for MessageHeader
impl UnwindSafe for MessageHeader
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