pub struct NestedPexData<T: Schematic> { /* private fields */ }
Expand description
The nested view of PexData
.
Implementations§
Source§impl<T: Schematic> NestedPexData<T>
impl<T: Schematic> NestedPexData<T>
Sourcepub fn data(&self) -> NestedView<T::NestedData, PexContext<T::Schema>>
pub fn data(&self) -> NestedView<T::NestedData, PexContext<T::Schema>>
Access the underlying data.
Trait Implementations§
Source§impl<T: Schematic> HasNestedView for NestedPexData<T>
impl<T: Schematic> HasNestedView for NestedPexData<T>
Source§type NestedView = NestedPexData<T>
type NestedView = NestedPexData<T>
A view of the nested object. Read more
Source§fn nested_view(&self, parent: &InstancePath) -> NestedView<Self, InstancePath>
fn nested_view(&self, parent: &InstancePath) -> NestedView<Self, InstancePath>
Creates a nested view of the object given a parent node.
Source§impl<S: Simulator, A: Analysis, T: Schematic> Save<S, A> for NestedPexData<T>where
T::NestedData: HasNestedView<PexContext<T::Schema>>,
NestedView<T::NestedData, PexContext<T::Schema>>: Save<S, A>,
impl<S: Simulator, A: Analysis, T: Schematic> Save<S, A> for NestedPexData<T>where
T::NestedData: HasNestedView<PexContext<T::Schema>>,
NestedView<T::NestedData, PexContext<T::Schema>>: Save<S, A>,
Source§type SaveKey = <<<T as Schematic>::NestedData as HasNestedView<PexContext<<T as Schematic>::Schema>>>::NestedView as Save<S, A>>::SaveKey
type SaveKey = <<<T as Schematic>::NestedData as HasNestedView<PexContext<<T as Schematic>::Schema>>>::NestedView as Save<S, A>>::SaveKey
The key type used to address the saved output within the analysis. Read more
Source§type Saved = <<<T as Schematic>::NestedData as HasNestedView<PexContext<<T as Schematic>::Schema>>>::NestedView as Save<S, A>>::Saved
type Saved = <<<T as Schematic>::NestedData as HasNestedView<PexContext<<T as Schematic>::Schema>>>::NestedView as Save<S, A>>::Saved
The saved data associated with things object.
Auto Trait Implementations§
impl<T> !Freeze for NestedPexData<T>
impl<T> !RefUnwindSafe for NestedPexData<T>
impl<T> Send for NestedPexData<T>
impl<T> Sync for NestedPexData<T>
impl<T> Unpin for NestedPexData<T>
impl<T> !UnwindSafe for NestedPexData<T>
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