pub struct ConditionalAccumulator { /* private fields */ }
Expand description
Builder for the ConditionalAccumulator
operation.
Implementations§
Source§impl ConditionalAccumulator
impl ConditionalAccumulator
Sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
attribute.
Sourcepub fn reduction_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reduction_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reduction_type
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for ConditionalAccumulator
impl Debug for ConditionalAccumulator
Source§impl Default for ConditionalAccumulator
impl Default for ConditionalAccumulator
Source§fn default() -> ConditionalAccumulator
fn default() -> ConditionalAccumulator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConditionalAccumulator
impl RefUnwindSafe for ConditionalAccumulator
impl Send for ConditionalAccumulator
impl Sync for ConditionalAccumulator
impl Unpin for ConditionalAccumulator
impl UnwindSafe for ConditionalAccumulator
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