pub struct BufferDataView<SubstrateV>where
Instance<Inverter>: HasView<SubstrateV>,
Node: HasView<SubstrateV>,{ /* private fields */ }Trait Implementations§
Source§impl<SubstrateV> Clone for BufferDataView<SubstrateV>
impl<SubstrateV> Clone for BufferDataView<SubstrateV>
Source§impl<SubstrateV> FlatLen for BufferDataView<SubstrateV>
impl<SubstrateV> FlatLen for BufferDataView<SubstrateV>
Source§impl<SubstrateV, SubstrateF> Flatten<SubstrateF> for BufferDataView<SubstrateV>
impl<SubstrateV, SubstrateF> Flatten<SubstrateF> for BufferDataView<SubstrateV>
Source§impl<SubstrateParent> HasContextView<SubstrateParent> for BufferDataView<Nested>where
Instance<Inverter>: HasView<Nested> + HasView<Nested, View = NestedView<Instance<Inverter>>>,
Node: HasView<Nested> + HasView<Nested, View = NestedView<Node>>,
<Instance<Inverter> as HasView<Nested>>::View: HasNestedView<NestedView = <Instance<Inverter> as HasView<Nested>>::View> + Send + Sync + HasContextView<SubstrateParent>,
<Node as HasView<Nested>>::View: HasNestedView<NestedView = <Node as HasView<Nested>>::View> + Send + Sync + HasContextView<SubstrateParent>,
impl<SubstrateParent> HasContextView<SubstrateParent> for BufferDataView<Nested>where
Instance<Inverter>: HasView<Nested> + HasView<Nested, View = NestedView<Instance<Inverter>>>,
Node: HasView<Nested> + HasView<Nested, View = NestedView<Node>>,
<Instance<Inverter> as HasView<Nested>>::View: HasNestedView<NestedView = <Instance<Inverter> as HasView<Nested>>::View> + Send + Sync + HasContextView<SubstrateParent>,
<Node as HasView<Nested>>::View: HasNestedView<NestedView = <Node as HasView<Nested>>::View> + Send + Sync + HasContextView<SubstrateParent>,
Source§type ContextView = BufferDataView<(Nested, Context<SubstrateParent>)>
type ContextView = BufferDataView<(Nested, Context<SubstrateParent>)>
A view of object.
Source§fn context_view(
&self,
__substrate_parent: &SubstrateParent,
) -> ContextView<Self, SubstrateParent>
fn context_view( &self, __substrate_parent: &SubstrateParent, ) -> ContextView<Self, SubstrateParent>
Creates a context view of the object given a parent context.
Source§impl HasNestedView for BufferDataView<Nested>where
Instance<Inverter>: HasView<Nested>,
Node: HasView<Nested>,
<Instance<Inverter> as HasView<Nested>>::View: HasNestedView<NestedView = <Instance<Inverter> as HasView<Nested>>::View> + Send + Sync + HasNestedView,
<Node as HasView<Nested>>::View: HasNestedView<NestedView = <Node as HasView<Nested>>::View> + Send + Sync + HasNestedView,
impl HasNestedView for BufferDataView<Nested>where
Instance<Inverter>: HasView<Nested>,
Node: HasView<Nested>,
<Instance<Inverter> as HasView<Nested>>::View: HasNestedView<NestedView = <Instance<Inverter> as HasView<Nested>>::View> + Send + Sync + HasNestedView,
<Node as HasView<Nested>>::View: HasNestedView<NestedView = <Node as HasView<Nested>>::View> + Send + Sync + HasNestedView,
Source§type NestedView = BufferDataView<Nested>
type NestedView = BufferDataView<Nested>
A view of the nested object. Read more
Source§fn nested_view(&self, __substrate_parent: &InstancePath) -> NestedView<Self>
fn nested_view(&self, __substrate_parent: &InstancePath) -> NestedView<Self>
Creates a nested view of the object given a parent node.
Source§impl<SubstrateT, SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<(Nested, Context<SubstrateT>)>where
Instance<Inverter>: HasNestedContextView<SubstrateT>,
Node: HasNestedContextView<SubstrateT>,
<Instance<Inverter> as HasNestedContextView<SubstrateT>>::View: Save<SubstrateS, SubstrateA>,
<Node as HasNestedContextView<SubstrateT>>::View: Save<SubstrateS, SubstrateA>,
SubstrateS: Simulator,
SubstrateA: Analysis,
impl<SubstrateT, SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<(Nested, Context<SubstrateT>)>where
Instance<Inverter>: HasNestedContextView<SubstrateT>,
Node: HasNestedContextView<SubstrateT>,
<Instance<Inverter> as HasNestedContextView<SubstrateT>>::View: Save<SubstrateS, SubstrateA>,
<Node as HasNestedContextView<SubstrateT>>::View: Save<SubstrateS, SubstrateA>,
SubstrateS: Simulator,
SubstrateA: Analysis,
Source§type SaveKey = BufferDataView<NestedContextSaveKey<SubstrateT, SubstrateS, SubstrateA>>
type SaveKey = BufferDataView<NestedContextSaveKey<SubstrateT, SubstrateS, SubstrateA>>
The key type used to address the saved output within the analysis. Read more
Source§type Saved = BufferDataView<NestedContextSaved<SubstrateT, SubstrateS, SubstrateA>>
type Saved = BufferDataView<NestedContextSaved<SubstrateT, SubstrateS, SubstrateA>>
The saved data associated with things object.
Source§fn save(
&self,
__substrate_ctx: &SimulationContext<SubstrateS>,
__substrate_opts: &mut <SubstrateS as Simulator>::Options,
) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
fn save( &self, __substrate_ctx: &SimulationContext<SubstrateS>, __substrate_opts: &mut <SubstrateS as Simulator>::Options, ) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
Marks the given output for saving, returning a key that can be used to recover
the output once the simulation is complete.
Source§fn from_saved(
__substrate_output: &<SubstrateA as Analysis>::Output,
__substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey,
) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
fn from_saved( __substrate_output: &<SubstrateA as Analysis>::Output, __substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey, ) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
Recovers the desired simulation output from the analysis’s output.
Source§impl<SubstrateT, SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<Context<SubstrateT>>where
Instance<Inverter>: HasContextView<SubstrateT>,
Node: HasContextView<SubstrateT>,
<Instance<Inverter> as HasContextView<SubstrateT>>::ContextView: Save<SubstrateS, SubstrateA>,
<Node as HasContextView<SubstrateT>>::ContextView: Save<SubstrateS, SubstrateA>,
SubstrateS: Simulator,
SubstrateA: Analysis,
impl<SubstrateT, SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<Context<SubstrateT>>where
Instance<Inverter>: HasContextView<SubstrateT>,
Node: HasContextView<SubstrateT>,
<Instance<Inverter> as HasContextView<SubstrateT>>::ContextView: Save<SubstrateS, SubstrateA>,
<Node as HasContextView<SubstrateT>>::ContextView: Save<SubstrateS, SubstrateA>,
SubstrateS: Simulator,
SubstrateA: Analysis,
Source§type SaveKey = BufferDataView<ContextSaveKey<SubstrateT, SubstrateS, SubstrateA>>
type SaveKey = BufferDataView<ContextSaveKey<SubstrateT, SubstrateS, SubstrateA>>
The key type used to address the saved output within the analysis. Read more
Source§type Saved = BufferDataView<ContextSaved<SubstrateT, SubstrateS, SubstrateA>>
type Saved = BufferDataView<ContextSaved<SubstrateT, SubstrateS, SubstrateA>>
The saved data associated with things object.
Source§fn save(
&self,
__substrate_ctx: &SimulationContext<SubstrateS>,
__substrate_opts: &mut <SubstrateS as Simulator>::Options,
) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
fn save( &self, __substrate_ctx: &SimulationContext<SubstrateS>, __substrate_opts: &mut <SubstrateS as Simulator>::Options, ) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
Marks the given output for saving, returning a key that can be used to recover
the output once the simulation is complete.
Source§fn from_saved(
__substrate_output: &<SubstrateA as Analysis>::Output,
__substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey,
) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
fn from_saved( __substrate_output: &<SubstrateA as Analysis>::Output, __substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey, ) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
Recovers the desired simulation output from the analysis’s output.
Source§impl<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<Nested>
impl<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for BufferDataView<Nested>
Source§type SaveKey = BufferDataView<NestedSaveKey<SubstrateS, SubstrateA>>
type SaveKey = BufferDataView<NestedSaveKey<SubstrateS, SubstrateA>>
The key type used to address the saved output within the analysis. Read more
Source§type Saved = BufferDataView<NestedSaved<SubstrateS, SubstrateA>>
type Saved = BufferDataView<NestedSaved<SubstrateS, SubstrateA>>
The saved data associated with things object.
Source§fn save(
&self,
__substrate_ctx: &SimulationContext<SubstrateS>,
__substrate_opts: &mut <SubstrateS as Simulator>::Options,
) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
fn save( &self, __substrate_ctx: &SimulationContext<SubstrateS>, __substrate_opts: &mut <SubstrateS as Simulator>::Options, ) -> <Self as Save<SubstrateS, SubstrateA>>::SaveKey
Marks the given output for saving, returning a key that can be used to recover
the output once the simulation is complete.
Source§fn from_saved(
__substrate_output: &<SubstrateA as Analysis>::Output,
__substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey,
) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
fn from_saved( __substrate_output: &<SubstrateA as Analysis>::Output, __substrate_key: &<Self as Save<SubstrateS, SubstrateA>>::SaveKey, ) -> <Self as Save<SubstrateS, SubstrateA>>::Saved
Recovers the desired simulation output from the analysis’s output.
Auto Trait Implementations§
impl<SubstrateV> !Freeze for BufferDataView<SubstrateV>
impl<SubstrateV> !RefUnwindSafe for BufferDataView<SubstrateV>
impl<SubstrateV> !Send for BufferDataView<SubstrateV>
impl<SubstrateV> !Sync for BufferDataView<SubstrateV>
impl<SubstrateV> !Unpin for BufferDataView<SubstrateV>
impl<SubstrateV> !UnwindSafe for BufferDataView<SubstrateV>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].