pub struct MessageFile {
pub parsed: ParsedMessageFile,
pub md5sum: String,
pub ros2_hash: Ros2Hash,
pub definition: String,
pub is_fixed_encoding_length: bool,
}Fields§
§parsed: ParsedMessageFile§md5sum: String§ros2_hash: Ros2Hash§definition: String§is_fixed_encoding_length: boolImplementations§
Source§impl MessageFile
impl MessageFile
pub fn get_package_name(&self) -> String
pub fn get_short_name(&self) -> String
pub fn get_full_name(&self) -> String
pub fn get_md5sum(&self) -> &str
pub fn get_fields(&self) -> &[FieldInfo]
pub fn get_constants(&self) -> &[ConstantInfo]
pub fn is_fixed_length(&self) -> bool
pub fn get_definition(&self) -> &str
Trait Implementations§
Source§impl Clone for MessageFile
impl Clone for MessageFile
Source§fn clone(&self) -> MessageFile
fn clone(&self) -> MessageFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MessageFile
impl RefUnwindSafe for MessageFile
impl Send for MessageFile
impl Sync for MessageFile
impl Unpin for MessageFile
impl UnwindSafe for MessageFile
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