pub struct CompositeChipletBuilder<F: TraceCompatibleField> { /* private fields */ }Expand description
Builder for CompositeChiplet.
Implementations§
Source§impl<F: TraceCompatibleField> CompositeChipletBuilder<F>
impl<F: TraceCompatibleField> CompositeChipletBuilder<F>
Sourcepub fn chiplet<A>(self, air: A) -> Selfwhere
A: Air<F> + Clone + Send + Sync + 'static,
F: TraceCompatibleField + PackableField + HardwareField + 'static,
<F as PackableField>::Packed: Copy + Send + Sync,
pub fn chiplet<A>(self, air: A) -> Selfwhere
A: Air<F> + Clone + Send + Sync + 'static,
F: TraceCompatibleField + PackableField + HardwareField + 'static,
<F as PackableField>::Packed: Copy + Send + Sync,
Add a sub-chiplet.
Sourcepub fn external_bus(self, bus_id: &str, spec: PermutationCheckSpec) -> Self
pub fn external_bus(self, bus_id: &str, spec: PermutationCheckSpec) -> Self
Declare an external bus (connects to the main trace).
Sourcepub fn build(self) -> Result<CompositeChiplet<F>>
pub fn build(self) -> Result<CompositeChiplet<F>>
Finalize the composite.
Validates selector orthogonality: two specs on different bus_ids must not share a selector column index. Same bus_id is exempt for dual-spec intra-table check.
Auto Trait Implementations§
impl<F> Freeze for CompositeChipletBuilder<F>
impl<F> !RefUnwindSafe for CompositeChipletBuilder<F>
impl<F> Send for CompositeChipletBuilder<F>
impl<F> Sync for CompositeChipletBuilder<F>
impl<F> Unpin for CompositeChipletBuilder<F>
impl<F> UnsafeUnpin for CompositeChipletBuilder<F>
impl<F> !UnwindSafe for CompositeChipletBuilder<F>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more