pub struct ChildSpawnPlan { /* private fields */ }Implementations§
Source§impl ChildSpawnPlan
impl ChildSpawnPlan
pub fn new( group_id: ChildGroupId, coordinates: ChildSpawnCoordinates, active_claim_fence: StepClaimFence, children: Vec<PlannedChild>, max_children: MaxChildren, max_depth: MaxChildDepth, ) -> Result<Self, DomainError>
pub fn group_id(&self) -> &ChildGroupId
pub fn coordinates(&self) -> &ChildSpawnCoordinates
pub fn active_claim_fence(&self) -> &StepClaimFence
pub fn children(&self) -> &[PlannedChild]
pub const fn max_children(&self) -> MaxChildren
pub const fn max_depth(&self) -> MaxChildDepth
Trait Implementations§
Source§impl Clone for ChildSpawnPlan
impl Clone for ChildSpawnPlan
Source§fn clone(&self) -> ChildSpawnPlan
fn clone(&self) -> ChildSpawnPlan
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 ChildSpawnPlan
impl Debug for ChildSpawnPlan
Source§impl<'de> Deserialize<'de> for ChildSpawnPlan
impl<'de> Deserialize<'de> for ChildSpawnPlan
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
impl Eq for ChildSpawnPlan
Source§impl PartialEq for ChildSpawnPlan
impl PartialEq for ChildSpawnPlan
Source§impl Serialize for ChildSpawnPlan
impl Serialize for ChildSpawnPlan
impl StructuralPartialEq for ChildSpawnPlan
Auto Trait Implementations§
impl Freeze for ChildSpawnPlan
impl RefUnwindSafe for ChildSpawnPlan
impl Send for ChildSpawnPlan
impl Sync for ChildSpawnPlan
impl Unpin for ChildSpawnPlan
impl UnsafeUnpin for ChildSpawnPlan
impl UnwindSafe for ChildSpawnPlan
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