pub struct HwCaptureRef {
pub kind: HwCaptureKind,
pub name: String,
}Expand description
Documented illegal-capture marker for Wire/Reg/signal refs (Story 27.3).
Elaborate-time generator APIs accept only non-capturing Fn that dissolve
before freeze. Capturing a hardware ref is diagnosed via
[ElaborateSession::assert_no_hw_capture] / [ElaborateSession::reject_hw_capture]
(rhdl::E0142) — not silently treated as a legal generator closure.
Cycle-accurate “capturing closure” bans remain [ElaborateSession::reject_unsynthesizable]
(rhdl::E0141 / FR16).
Fields§
§kind: HwCaptureKind§name: StringImplementations§
Trait Implementations§
Source§impl Clone for HwCaptureRef
impl Clone for HwCaptureRef
Source§fn clone(&self) -> HwCaptureRef
fn clone(&self) -> HwCaptureRef
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 moreSource§impl Debug for HwCaptureRef
impl Debug for HwCaptureRef
impl Eq for HwCaptureRef
Source§impl PartialEq for HwCaptureRef
impl PartialEq for HwCaptureRef
impl StructuralPartialEq for HwCaptureRef
Auto Trait Implementations§
impl Freeze for HwCaptureRef
impl RefUnwindSafe for HwCaptureRef
impl Send for HwCaptureRef
impl Sync for HwCaptureRef
impl Unpin for HwCaptureRef
impl UnsafeUnpin for HwCaptureRef
impl UnwindSafe for HwCaptureRef
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