pub struct HierarchyHandle { /* private fields */ }Expand description
A module/scope handle: dut.child("name")? (OQ-6 dynamic-first lean).
Implementations§
Source§impl HierarchyHandle
impl HierarchyHandle
Sourcepub fn null_for_test() -> HierarchyHandle
pub fn null_for_test() -> HierarchyHandle
A handle to nothing, for unit tests that need a RustdvCtx but never
touch the DUT. Any VPI call through it reaches rustdv-vpi-stubs,
which panics — so a test that does touch the DUT fails loudly rather
than reading garbage, and its author learns it belongs in a sim-*
case instead.
Trait Implementations§
Source§impl Clone for HierarchyHandle
impl Clone for HierarchyHandle
impl Copy for HierarchyHandle
Source§impl Debug for HierarchyHandle
impl Debug for HierarchyHandle
Source§impl From<HierarchyHandle> for HierarchyHandle
impl From<HierarchyHandle> for HierarchyHandle
Source§fn from(raw: HierarchyHandle) -> Self
fn from(raw: HierarchyHandle) -> Self
Converts to this type from the input type.
Source§impl HandleBase for HierarchyHandle
impl HandleBase for HierarchyHandle
Source§impl HandleChildren for HierarchyHandle
impl HandleChildren for HierarchyHandle
Source§fn signal(&self, name: &str) -> Result<LogicHandle, HandleError>
fn signal(&self, name: &str) -> Result<LogicHandle, HandleError>
Get a child handle by name and convert it to logic handle
Source§fn real(&self, name: &str) -> Result<RealHandle, HandleError>
fn real(&self, name: &str) -> Result<RealHandle, HandleError>
Get a child handle by name and convert it to real handle
Source§fn string(&self, name: &str) -> Result<StringHandle, HandleError>
fn string(&self, name: &str) -> Result<StringHandle, HandleError>
Get a child handle by name and convert it to string handle
Source§fn hierarchy(&self, name: &str) -> Result<HierarchyHandle, HandleError>
fn hierarchy(&self, name: &str) -> Result<HierarchyHandle, HandleError>
Get a child handle by name and convert it to hierarchy handle
Source§fn aggregate(&self, name: &str) -> Result<AggregateHandle, HandleError>
fn aggregate(&self, name: &str) -> Result<AggregateHandle, HandleError>
Get a child handle by name and convert it to aggregate handle
Auto Trait Implementations§
impl !Send for HierarchyHandle
impl !Sync for HierarchyHandle
impl Freeze for HierarchyHandle
impl RefUnwindSafe for HierarchyHandle
impl Unpin for HierarchyHandle
impl UnsafeUnpin for HierarchyHandle
impl UnwindSafe for HierarchyHandle
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