pub struct NodeOptions<'a> {
pub name: &'a str,
pub namespace: &'a str,
pub domain_id: u32,
}Expand description
Runtime-neutral node construction options.
ADOPT-BOUNDED against rclrs’s NodeOptions / IntoNodeOptions builder: three
public fields (name, namespace, domain_id) and nothing else. There are no
node ARGUMENTS and no rosout toggle — both are fixed at build time here
(RFC-0045), so an rclrs builder call for either is a compile error.
Fields§
§name: &'a strSource node name. Launch planning may remap/namespace later.
namespace: &'a strSource namespace. Defaults to /.
domain_id: u32ROS domain ID hint. Defaults to 0.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for NodeOptions<'a>
impl<'a> Clone for NodeOptions<'a>
Source§fn clone(&self) -> NodeOptions<'a>
fn clone(&self) -> NodeOptions<'a>
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 moreimpl<'a> Copy for NodeOptions<'a>
Source§impl<'a> Debug for NodeOptions<'a>
impl<'a> Debug for NodeOptions<'a>
impl<'a> Eq for NodeOptions<'a>
Source§impl<'a> PartialEq for NodeOptions<'a>
impl<'a> PartialEq for NodeOptions<'a>
impl<'a> StructuralPartialEq for NodeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeOptions<'a>
impl<'a> RefUnwindSafe for NodeOptions<'a>
impl<'a> Send for NodeOptions<'a>
impl<'a> Sync for NodeOptions<'a>
impl<'a> Unpin for NodeOptions<'a>
impl<'a> UnsafeUnpin for NodeOptions<'a>
impl<'a> UnwindSafe for NodeOptions<'a>
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