#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SimulationApplicationConfig
Implementations
sourceimpl Builder
impl Builder
sourcepub fn application(self, input: impl Into<String>) -> Self
pub fn application(self, input: impl Into<String>) -> Self
The application information for the simulation application.
sourcepub fn set_application(self, input: Option<String>) -> Self
pub fn set_application(self, input: Option<String>) -> Self
The application information for the simulation application.
sourcepub fn application_version(self, input: impl Into<String>) -> Self
pub fn application_version(self, input: impl Into<String>) -> Self
The version of the simulation application.
sourcepub fn set_application_version(self, input: Option<String>) -> Self
pub fn set_application_version(self, input: Option<String>) -> Self
The version of the simulation application.
sourcepub fn launch_config(self, input: LaunchConfig) -> Self
pub fn launch_config(self, input: LaunchConfig) -> Self
The launch configuration for the simulation application.
sourcepub fn set_launch_config(self, input: Option<LaunchConfig>) -> Self
pub fn set_launch_config(self, input: Option<LaunchConfig>) -> Self
The launch configuration for the simulation application.
sourcepub fn upload_configurations(self, input: UploadConfiguration) -> Self
pub fn upload_configurations(self, input: UploadConfiguration) -> Self
Appends an item to upload_configurations
.
To override the contents of this collection use set_upload_configurations
.
Information about upload configurations for the simulation application.
sourcepub fn set_upload_configurations(
self,
input: Option<Vec<UploadConfiguration>>
) -> Self
pub fn set_upload_configurations(
self,
input: Option<Vec<UploadConfiguration>>
) -> Self
Information about upload configurations for the simulation application.
sourcepub fn world_configs(self, input: WorldConfig) -> Self
pub fn world_configs(self, input: WorldConfig) -> Self
Appends an item to world_configs
.
To override the contents of this collection use set_world_configs
.
A list of world configurations.
sourcepub fn set_world_configs(self, input: Option<Vec<WorldConfig>>) -> Self
pub fn set_world_configs(self, input: Option<Vec<WorldConfig>>) -> Self
A list of world configurations.
sourcepub fn use_default_upload_configurations(self, input: bool) -> Self
pub fn use_default_upload_configurations(self, input: bool) -> Self
A Boolean indicating whether to use default upload configurations. By default, .ros
and .gazebo
files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation
.
sourcepub fn set_use_default_upload_configurations(self, input: Option<bool>) -> Self
pub fn set_use_default_upload_configurations(self, input: Option<bool>) -> Self
A Boolean indicating whether to use default upload configurations. By default, .ros
and .gazebo
files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation
.
sourcepub fn tools(self, input: Tool) -> Self
pub fn tools(self, input: Tool) -> Self
Appends an item to tools
.
To override the contents of this collection use set_tools
.
Information about tools configured for the simulation application.
sourcepub fn set_tools(self, input: Option<Vec<Tool>>) -> Self
pub fn set_tools(self, input: Option<Vec<Tool>>) -> Self
Information about tools configured for the simulation application.
sourcepub fn use_default_tools(self, input: bool) -> Self
pub fn use_default_tools(self, input: bool) -> Self
A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False
.
sourcepub fn set_use_default_tools(self, input: Option<bool>) -> Self
pub fn set_use_default_tools(self, input: Option<bool>) -> Self
A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False
.
sourcepub fn build(self) -> SimulationApplicationConfig
pub fn build(self) -> SimulationApplicationConfig
Consumes the builder and constructs a SimulationApplicationConfig
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more