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
Source§fn clone(&self) -> HierarchyHandle
fn clone(&self) -> HierarchyHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HierarchyHandle
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