pub struct CodeBlockAppBuilder { /* private fields */ }
Implementations§
source§impl CodeBlockAppBuilder
impl CodeBlockAppBuilder
pub fn new() -> Self
sourcepub fn inputs(self, inputs: impl IntoIterator<Item = Port>) -> Self
pub fn inputs(self, inputs: impl IntoIterator<Item = Port>) -> Self
Append input ports of the code block, it is required to have at least one input
pub fn outputs(self, outputs: impl IntoIterator<Item = Port>) -> Self
pub fn build(self) -> Result<CodeBlockApp>
Trait Implementations§
source§impl Clone for CodeBlockAppBuilder
impl Clone for CodeBlockAppBuilder
source§fn clone(&self) -> CodeBlockAppBuilder
fn clone(&self) -> CodeBlockAppBuilder
Returns a copy of the value. Read more
1.0.0 · 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 CodeBlockAppBuilder
impl Debug for CodeBlockAppBuilder
Auto Trait Implementations§
impl Freeze for CodeBlockAppBuilder
impl RefUnwindSafe for CodeBlockAppBuilder
impl Send for CodeBlockAppBuilder
impl Sync for CodeBlockAppBuilder
impl Unpin for CodeBlockAppBuilder
impl UnwindSafe for CodeBlockAppBuilder
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