pub struct Handle<E>where
E: FromVpiHandle,{ /* private fields */ }
Expand description
Vpi handle type to interact with verilog values
Implementations§
Source§impl<E> Handle<E>where
E: FromVpiHandle,
impl<E> Handle<E>where
E: FromVpiHandle,
Sourcepub fn borrow_mut(&mut self) -> Result<HandleMut<'_, E>>where
E: StoreIntoVpiHandle,
pub fn borrow_mut(&mut self) -> Result<HandleMut<'_, E>>where
E: StoreIntoVpiHandle,
Mutable borrow of wrapped value
Sourcepub fn raw_handle(&self) -> RawHandle
pub fn raw_handle(&self) -> RawHandle
Obtain underling raw handle
Trait Implementations§
Source§impl<E> FromVpiHandle for Handle<E>where
E: FromVpiHandle,
impl<E> FromVpiHandle for Handle<E>where
E: FromVpiHandle,
Source§unsafe fn from_vpi_handle(handle: RawHandle) -> Result<Self>
unsafe fn from_vpi_handle(handle: RawHandle) -> Result<Self>
Conversion function from verilog to rust. In implementation, use the function
crate::vpi_user::vpi_get_value to obtain the value to convert. Read more
Auto Trait Implementations§
impl<E> Freeze for Handle<E>
impl<E> RefUnwindSafe for Handle<E>where
E: RefUnwindSafe,
impl<E> !Send for Handle<E>
impl<E> !Sync for Handle<E>
impl<E> Unpin for Handle<E>where
E: Unpin,
impl<E> UnwindSafe for Handle<E>where
E: UnwindSafe,
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