pub struct ModuleBindingPlan { /* private fields */ }Expand description
A canonical binding plan paired with fully qualified logical destinations.
Implementations§
Source§impl ModuleBindingPlan
impl ModuleBindingPlan
Sourcepub const fn plan(&self) -> &BindingPlan
pub const fn plan(&self) -> &BindingPlan
Returns the canonical declarative plan.
Sourcepub fn build_bindings(
&self,
source: &dyn CheckpointSource,
) -> Result<Vec<WeightBinding>, ModuleBindingPlanError>
pub fn build_bindings( &self, source: &dyn CheckpointSource, ) -> Result<Vec<WeightBinding>, ModuleBindingPlanError>
Resolves this declaration against one exact checkpoint source.
Trait Implementations§
Source§impl Clone for ModuleBindingPlan
impl Clone for ModuleBindingPlan
Source§fn clone(&self) -> ModuleBindingPlan
fn clone(&self) -> ModuleBindingPlan
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 moreAuto Trait Implementations§
impl Freeze for ModuleBindingPlan
impl RefUnwindSafe for ModuleBindingPlan
impl Send for ModuleBindingPlan
impl Sync for ModuleBindingPlan
impl Unpin for ModuleBindingPlan
impl UnsafeUnpin for ModuleBindingPlan
impl UnwindSafe for ModuleBindingPlan
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