#[non_exhaustive]pub struct GetDataflowGraphOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataflowGraphOutput
.
Implementations§
source§impl GetDataflowGraphOutputBuilder
impl GetDataflowGraphOutputBuilder
sourcepub fn dag_nodes(self, input: CodeGenNode) -> Self
pub fn dag_nodes(self, input: CodeGenNode) -> Self
Appends an item to dag_nodes
.
To override the contents of this collection use set_dag_nodes
.
A list of the nodes in the resulting DAG.
sourcepub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
pub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
A list of the nodes in the resulting DAG.
sourcepub fn get_dag_nodes(&self) -> &Option<Vec<CodeGenNode>>
pub fn get_dag_nodes(&self) -> &Option<Vec<CodeGenNode>>
A list of the nodes in the resulting DAG.
sourcepub fn dag_edges(self, input: CodeGenEdge) -> Self
pub fn dag_edges(self, input: CodeGenEdge) -> Self
Appends an item to dag_edges
.
To override the contents of this collection use set_dag_edges
.
A list of the edges in the resulting DAG.
sourcepub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
pub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
A list of the edges in the resulting DAG.
sourcepub fn get_dag_edges(&self) -> &Option<Vec<CodeGenEdge>>
pub fn get_dag_edges(&self) -> &Option<Vec<CodeGenEdge>>
A list of the edges in the resulting DAG.
sourcepub fn build(self) -> GetDataflowGraphOutput
pub fn build(self) -> GetDataflowGraphOutput
Consumes the builder and constructs a GetDataflowGraphOutput
.
Trait Implementations§
source§impl Clone for GetDataflowGraphOutputBuilder
impl Clone for GetDataflowGraphOutputBuilder
source§fn clone(&self) -> GetDataflowGraphOutputBuilder
fn clone(&self) -> GetDataflowGraphOutputBuilder
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 Default for GetDataflowGraphOutputBuilder
impl Default for GetDataflowGraphOutputBuilder
source§fn default() -> GetDataflowGraphOutputBuilder
fn default() -> GetDataflowGraphOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDataflowGraphOutputBuilder
impl PartialEq for GetDataflowGraphOutputBuilder
source§fn eq(&self, other: &GetDataflowGraphOutputBuilder) -> bool
fn eq(&self, other: &GetDataflowGraphOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDataflowGraphOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDataflowGraphOutputBuilder
impl RefUnwindSafe for GetDataflowGraphOutputBuilder
impl Send for GetDataflowGraphOutputBuilder
impl Sync for GetDataflowGraphOutputBuilder
impl Unpin for GetDataflowGraphOutputBuilder
impl UnwindSafe for GetDataflowGraphOutputBuilder
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 moreCreates a shared type from an unshared type.