pub struct ParticipantEntitiesInfo { /* private fields */ }
Expand description
Information structure for other DomainParticipants in a ROS 2 network
See ParticipantEntitiesInfo in ROS2.
Gives a list of ROS 2 nodes that are represented by a DDS DomainParticipant
Implementations§
source§impl ParticipantEntitiesInfo
impl ParticipantEntitiesInfo
pub fn new( gid: Gid, node_entities_info_seq: Vec<NodeEntitiesInfo> ) -> ParticipantEntitiesInfo
pub fn gid(&self) -> Gid
pub fn nodes(&self) -> &Vec<NodeEntitiesInfo>
Trait Implementations§
source§impl Clone for ParticipantEntitiesInfo
impl Clone for ParticipantEntitiesInfo
source§fn clone(&self) -> ParticipantEntitiesInfo
fn clone(&self) -> ParticipantEntitiesInfo
Returns a copy 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 ParticipantEntitiesInfo
impl Debug for ParticipantEntitiesInfo
source§impl<'de> Deserialize<'de> for ParticipantEntitiesInfo
impl<'de> Deserialize<'de> for ParticipantEntitiesInfo
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
Auto Trait Implementations§
impl RefUnwindSafe for ParticipantEntitiesInfo
impl Send for ParticipantEntitiesInfo
impl Sync for ParticipantEntitiesInfo
impl Unpin for ParticipantEntitiesInfo
impl UnwindSafe for ParticipantEntitiesInfo
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