pub struct CapabilityMessage {
pub types: Vec<String>,
}
Expand description
CAPABILITY message containing list of supported message types
§OpenIGTLink Specification
- Message type: “CAPABILITY”
- Body size: Variable (4 bytes + sum of type name lengths + null terminators)
- Encoding:
- Number of types: u32 (4 bytes, big-endian)
- Type names: null-terminated strings
Fields§
§types: Vec<String>
List of supported message type names
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityMessage
impl Clone for CapabilityMessage
Source§fn clone(&self) -> CapabilityMessage
fn clone(&self) -> CapabilityMessage
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 CapabilityMessage
impl Debug for CapabilityMessage
Source§impl Message for CapabilityMessage
impl Message for CapabilityMessage
Source§impl PartialEq for CapabilityMessage
impl PartialEq for CapabilityMessage
impl StructuralPartialEq for CapabilityMessage
Auto Trait Implementations§
impl Freeze for CapabilityMessage
impl RefUnwindSafe for CapabilityMessage
impl Send for CapabilityMessage
impl Sync for CapabilityMessage
impl Unpin for CapabilityMessage
impl UnwindSafe for CapabilityMessage
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