pub struct DiffPairView<SubstrateV>{
pub p: <InOut<Signal> as HasView<SubstrateV>>::View,
pub n: <InOut<Signal> as HasView<SubstrateV>>::View,
}
Expand description
A pair of differential signals.
Fields§
§p: <InOut<Signal> as HasView<SubstrateV>>::View
The positive signal.
n: <InOut<Signal> as HasView<SubstrateV>>::View
The negative signal.
Implementations§
Source§impl DiffPairView<NodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
Self: HasBundleKind<BundleKind: SchematicBundleKind<NodeBundle = Self>>,
impl DiffPairView<NodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
Self: HasBundleKind<BundleKind: SchematicBundleKind<NodeBundle = Self>>,
Sourcepub fn view_as<SubstrateT: HasBundleKind<BundleKind: SchematicBundleKind>>(
&self,
) -> NodeBundle<<SubstrateT as HasBundleKind>::BundleKind>
pub fn view_as<SubstrateT: HasBundleKind<BundleKind: SchematicBundleKind>>( &self, ) -> NodeBundle<<SubstrateT as HasBundleKind>::BundleKind>
Views this bundle as a bundle of a different kind.
Source§impl DiffPairView<TerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
Self: HasBundleKind<BundleKind: SchematicBundleKind<TerminalBundle = Self>>,
impl DiffPairView<TerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
Self: HasBundleKind<BundleKind: SchematicBundleKind<TerminalBundle = Self>>,
Sourcepub fn view_as<SubstrateT: HasBundleKind<BundleKind: SchematicBundleKind>>(
&self,
) -> TerminalBundle<<SubstrateT as HasBundleKind>::BundleKind>
pub fn view_as<SubstrateT: HasBundleKind<BundleKind: SchematicBundleKind>>( &self, ) -> TerminalBundle<<SubstrateT as HasBundleKind>::BundleKind>
Views this bundle as a bundle of a different kind.
Sourcepub fn node_bundle(&self) -> NodeBundle<<Self as HasBundleKind>::BundleKind>
pub fn node_bundle(&self) -> NodeBundle<<Self as HasBundleKind>::BundleKind>
Views this terminal bundle as a node bundle of the same kind.
Trait Implementations§
Source§impl<SubstrateV> FlatLen for DiffPairView<SubstrateV>
impl<SubstrateV> FlatLen for DiffPairView<SubstrateV>
Source§impl<SubstrateV, SubstrateF> Flatten<SubstrateF> for DiffPairView<SubstrateV>
impl<SubstrateV, SubstrateF> Flatten<SubstrateF> for DiffPairView<SubstrateV>
Source§impl<SubstrateV> HasBundleKind for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV> + HasBundleKind,
<InOut<Signal> as HasView<SubstrateV>>::View: HasBundleKind<BundleKind = <InOut<Signal> as HasBundleKind>::BundleKind> + HasBundleKind,
impl<SubstrateV> HasBundleKind for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV> + HasBundleKind,
<InOut<Signal> as HasView<SubstrateV>>::View: HasBundleKind<BundleKind = <InOut<Signal> as HasBundleKind>::BundleKind> + HasBundleKind,
Source§type BundleKind = DiffPairKind
type BundleKind = DiffPairKind
The Rust type of the
BundleKind
associated with this bundle.Source§fn kind(&self) -> <Self as HasBundleKind>::BundleKind
fn kind(&self) -> <Self as HasBundleKind>::BundleKind
Returns the
BundleKind
of this bundle.Source§impl HasNestedView for DiffPairView<NestedNodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NestedNodeBundle>>::View: HasNestedView<NestedView = <InOut<Signal> as HasView<NestedNodeBundle>>::View> + HasNestedView,
impl HasNestedView for DiffPairView<NestedNodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NestedNodeBundle>>::View: HasNestedView<NestedView = <InOut<Signal> as HasView<NestedNodeBundle>>::View> + HasNestedView,
Source§type NestedView = DiffPairView<NestedNodeBundle>
type NestedView = DiffPairView<NestedNodeBundle>
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 HasNestedView for DiffPairView<NestedTerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NestedTerminalBundle>>::View: HasNestedView<NestedView = <InOut<Signal> as HasView<NestedTerminalBundle>>::View> + HasNestedView,
impl HasNestedView for DiffPairView<NestedTerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NestedTerminalBundle>>::View: HasNestedView<NestedView = <InOut<Signal> as HasView<NestedTerminalBundle>>::View> + HasNestedView,
Source§type NestedView = DiffPairView<NestedTerminalBundle>
type NestedView = DiffPairView<NestedTerminalBundle>
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 HasNestedView for DiffPairView<NodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NodeBundle>>::View: HasNestedView,
impl HasNestedView for DiffPairView<NodeBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<NodeBundle>>::View: HasNestedView,
Source§type NestedView = DiffPairView<NestedNodeBundle>
type NestedView = DiffPairView<NestedNodeBundle>
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 HasNestedView for DiffPairView<TerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<TerminalBundle>>::View: HasNestedView,
impl HasNestedView for DiffPairView<TerminalBundle>where
InOut<Signal>: HasSchematicBundleKindViews,
<InOut<Signal> as HasView<TerminalBundle>>::View: HasNestedView,
Source§type NestedView = DiffPairView<NestedTerminalBundle>
type NestedView = DiffPairView<NestedTerminalBundle>
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<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for DiffPairView<NestedNodeBundle>
impl<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for DiffPairView<NestedNodeBundle>
Source§type SaveKey = DiffPairView<NestedNodeSaveKeyView<SubstrateS, SubstrateA>>
type SaveKey = DiffPairView<NestedNodeSaveKeyView<SubstrateS, SubstrateA>>
The key type used to address the saved output within the analysis. Read more
Source§type Saved = DiffPairView<NestedNodeSavedView<SubstrateS, SubstrateA>>
type Saved = DiffPairView<NestedNodeSavedView<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§impl<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for DiffPairView<NestedTerminalBundle>
impl<SubstrateS, SubstrateA> Save<SubstrateS, SubstrateA> for DiffPairView<NestedTerminalBundle>
Source§type SaveKey = DiffPairView<NestedTerminalSaveKeyView<SubstrateS, SubstrateA>>
type SaveKey = DiffPairView<NestedTerminalSaveKeyView<SubstrateS, SubstrateA>>
The key type used to address the saved output within the analysis. Read more
Source§type Saved = DiffPairView<NestedTerminalSavedView<SubstrateS, SubstrateA>>
type Saved = DiffPairView<NestedTerminalSavedView<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§impl<SubstrateV> TransformRef for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV>,
<InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,
impl<SubstrateV> TransformRef for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV>,
<InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,
Source§fn transform_ref(&self, __substrate_transformation: Transformation) -> Self
fn transform_ref(&self, __substrate_transformation: Transformation) -> Self
Applies matrix-vector
Transformation
trans
.Source§impl<SubstrateV> TranslateRef for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV>,
<InOut<Signal> as HasView<SubstrateV>>::View: TranslateRef,
impl<SubstrateV> TranslateRef for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV>,
<InOut<Signal> as HasView<SubstrateV>>::View: TranslateRef,
Source§fn translate_ref(&self, __substrate_point: Point) -> Self
fn translate_ref(&self, __substrate_point: Point) -> Self
Translates the shape by
Point
, returning a new shape.Source§impl<SubstrateV, SubstrateS> Unflatten<DiffPairKind, SubstrateS> for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV> + HasBundleKind,
<InOut<Signal> as HasView<SubstrateV>>::View: Unflatten<<InOut<Signal> as HasBundleKind>::BundleKind, SubstrateS>,
impl<SubstrateV, SubstrateS> Unflatten<DiffPairKind, SubstrateS> for DiffPairView<SubstrateV>where
InOut<Signal>: HasView<SubstrateV> + HasBundleKind,
<InOut<Signal> as HasView<SubstrateV>>::View: Unflatten<<InOut<Signal> as HasBundleKind>::BundleKind, SubstrateS>,
Source§fn unflatten<SubstrateI>(
__substrate_data: &DiffPairKind,
__substrate_source: &mut SubstrateI,
) -> Option<Self>where
SubstrateI: Iterator<Item = SubstrateS>,
fn unflatten<SubstrateI>(
__substrate_data: &DiffPairKind,
__substrate_source: &mut SubstrateI,
) -> Option<Self>where
SubstrateI: Iterator<Item = SubstrateS>,
Unflatten a structure from an iterator. Read more
Auto Trait Implementations§
impl<SubstrateV> !Freeze for DiffPairView<SubstrateV>
impl<SubstrateV> !RefUnwindSafe for DiffPairView<SubstrateV>
impl<SubstrateV> !Send for DiffPairView<SubstrateV>
impl<SubstrateV> !Sync for DiffPairView<SubstrateV>
impl<SubstrateV> !Unpin for DiffPairView<SubstrateV>
impl<SubstrateV> !UnwindSafe for DiffPairView<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
§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>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request