pub struct ConstantInfo {
pub constant_type: String,
pub constant_name: String,
pub constant_value: RosLiteral,
}Expand description
Describes all information for a constant within a message Note: Constants are not fully supported yet (waiting on codegen support)
Fields§
§constant_type: String§constant_name: String§constant_value: RosLiteralTrait Implementations§
Source§impl Clone for ConstantInfo
impl Clone for ConstantInfo
Source§fn clone(&self) -> ConstantInfo
fn clone(&self) -> ConstantInfo
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 moreSource§impl Debug for ConstantInfo
impl Debug for ConstantInfo
Source§impl PartialEq for ConstantInfo
impl PartialEq for ConstantInfo
Auto Trait Implementations§
impl Freeze for ConstantInfo
impl RefUnwindSafe for ConstantInfo
impl Send for ConstantInfo
impl Sync for ConstantInfo
impl Unpin for ConstantInfo
impl UnwindSafe for ConstantInfo
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