pub struct ComponentInstance { /* private fields */ }Expand description
One resolved component instance in the canonical robot.
Implementations§
Source§impl ComponentInstance
impl ComponentInstance
pub fn id(&self) -> &str
pub fn component_type(&self) -> &str
pub fn mount_link(&self) -> &str
Trait Implementations§
Source§impl Clone for ComponentInstance
impl Clone for ComponentInstance
Source§fn clone(&self) -> ComponentInstance
fn clone(&self) -> ComponentInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComponentInstance
impl Debug for ComponentInstance
Source§impl<'de> Deserialize<'de> for ComponentInstance
impl<'de> Deserialize<'de> for ComponentInstance
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 Freeze for ComponentInstance
impl RefUnwindSafe for ComponentInstance
impl Send for ComponentInstance
impl Sync for ComponentInstance
impl Unpin for ComponentInstance
impl UnsafeUnpin for ComponentInstance
impl UnwindSafe for ComponentInstance
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