pub struct RawNestedNode { /* private fields */ }
Expand description
A raw nested node within a cell that is opaque to substrate.
May reference Substrate nodes or nodes within SCIR primitives.
Implementations§
Source§impl RawNestedNode
impl RawNestedNode
Sourcepub fn new(instances: InstancePath, tail: impl Into<ArcStr>) -> Self
pub fn new(instances: InstancePath, tail: impl Into<ArcStr>) -> Self
Creates a new RawNestedNode
.
Sourcepub fn instances(&self) -> &InstancePath
pub fn instances(&self) -> &InstancePath
The instances along the path to this nested node.
Does not include instances from the raw tail.
Trait Implementations§
Source§impl Clone for RawNestedNode
impl Clone for RawNestedNode
Source§fn clone(&self) -> RawNestedNode
fn clone(&self) -> RawNestedNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RawNestedNode
impl Debug for RawNestedNode
Source§impl HasNestedView for RawNestedNode
impl HasNestedView for RawNestedNode
Source§type NestedView = RawNestedNode
type NestedView = RawNestedNode
A view of the nested object. Read more
Source§fn nested_view(&self, parent: &InstancePath) -> NestedView<Self>
fn nested_view(&self, parent: &InstancePath) -> NestedView<Self>
Creates a nested view of the object given a parent node.
Auto Trait Implementations§
impl Freeze for RawNestedNode
impl RefUnwindSafe for RawNestedNode
impl Send for RawNestedNode
impl Sync for RawNestedNode
impl Unpin for RawNestedNode
impl UnwindSafe for RawNestedNode
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>
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