pub struct ReplicationFrameBuilder {
pub limits: ReplicationFrameLimits,
}Expand description
Builds concrete replication frames from a core replication plan.
Fields§
§limits: ReplicationFrameLimitsBuilder limits.
Implementations§
Source§impl ReplicationFrameBuilder
impl ReplicationFrameBuilder
Sourcepub const fn new(limits: ReplicationFrameLimits) -> Self
pub const fn new(limits: ReplicationFrameLimits) -> Self
Creates a frame builder with explicit limits.
Sourcepub fn build(
&self,
client_id: ClientId,
server_tick: Tick,
station: &Station,
plan: &ReplicationPlan,
components: &ComponentStore,
selection: &ComponentSelection,
) -> ReplicationFrameBuild
pub fn build( &self, client_id: ClientId, server_tick: Tick, station: &Station, plan: &ReplicationPlan, components: &ComponentStore, selection: &ComponentSelection, ) -> ReplicationFrameBuild
Builds a frame from a station plan and component store.
Trait Implementations§
Source§impl Clone for ReplicationFrameBuilder
impl Clone for ReplicationFrameBuilder
Source§fn clone(&self) -> ReplicationFrameBuilder
fn clone(&self) -> ReplicationFrameBuilder
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 Copy for ReplicationFrameBuilder
Source§impl Debug for ReplicationFrameBuilder
impl Debug for ReplicationFrameBuilder
Source§impl Default for ReplicationFrameBuilder
impl Default for ReplicationFrameBuilder
Source§fn default() -> ReplicationFrameBuilder
fn default() -> ReplicationFrameBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplicationFrameBuilder
impl RefUnwindSafe for ReplicationFrameBuilder
impl Send for ReplicationFrameBuilder
impl Sync for ReplicationFrameBuilder
impl Unpin for ReplicationFrameBuilder
impl UnsafeUnpin for ReplicationFrameBuilder
impl UnwindSafe for ReplicationFrameBuilder
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