pub struct StackPush { /* private fields */ }
Expand description
Builder for the StackPush
operation.
Implementations§
Source§impl StackPush
impl StackPush
Sourcepub fn swap_memory<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn swap_memory<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the swap_memory
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§
Auto Trait Implementations§
impl Freeze for StackPush
impl RefUnwindSafe for StackPush
impl Send for StackPush
impl Sync for StackPush
impl Unpin for StackPush
impl UnwindSafe for StackPush
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