Struct aws_sdk_robomaker::model::WorldCount
source · [−]#[non_exhaustive]pub struct WorldCount {
pub floorplan_count: Option<i32>,
pub interior_count_per_floorplan: Option<i32>,
}
Expand description
The number of worlds that will be created. You can configure the number of unique floorplans and the number of unique interiors for each floor plan. For example, if you want 1 world with 20 unique interiors, you set floorplanCount = 1
and interiorCountPerFloorplan = 20
. This will result in 20 worlds (floorplanCount
* interiorCountPerFloorplan)
.
If you set floorplanCount = 4
and interiorCountPerFloorplan = 5
, there will be 20 worlds with 5 unique floor plans.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.floorplan_count: Option<i32>
The number of unique floorplans.
interior_count_per_floorplan: Option<i32>
The number of unique interiors per floorplan.
Implementations
sourceimpl WorldCount
impl WorldCount
sourcepub fn floorplan_count(&self) -> Option<i32>
pub fn floorplan_count(&self) -> Option<i32>
The number of unique floorplans.
sourcepub fn interior_count_per_floorplan(&self) -> Option<i32>
pub fn interior_count_per_floorplan(&self) -> Option<i32>
The number of unique interiors per floorplan.
sourceimpl WorldCount
impl WorldCount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorldCount
Trait Implementations
sourceimpl Clone for WorldCount
impl Clone for WorldCount
sourcefn clone(&self) -> WorldCount
fn clone(&self) -> WorldCount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WorldCount
impl Debug for WorldCount
sourceimpl PartialEq<WorldCount> for WorldCount
impl PartialEq<WorldCount> for WorldCount
sourcefn eq(&self, other: &WorldCount) -> bool
fn eq(&self, other: &WorldCount) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorldCount) -> bool
fn ne(&self, other: &WorldCount) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorldCount
Auto Trait Implementations
impl RefUnwindSafe for WorldCount
impl Send for WorldCount
impl Sync for WorldCount
impl Unpin for WorldCount
impl UnwindSafe for WorldCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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