pub struct RiscCos { /* private fields */ }Expand description
Builder for the RiscCos operation.
Implementations§
Source§impl RiscCos
impl RiscCos
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>>(
&self,
x: O0,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, x: O0, scope: &mut Scope, ) -> Result<Operation>
Builds the RiscCos operation.
Sourcepub fn build_instance(
&self,
x: Output,
scope: &mut Scope,
) -> Result<RiscCosInst>
pub fn build_instance( &self, x: Output, scope: &mut Scope, ) -> Result<RiscCosInst>
Builds a new instance of ‘RiscCos’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RiscCos
impl RefUnwindSafe for RiscCos
impl Send for RiscCos
impl Sync for RiscCos
impl Unpin for RiscCos
impl UnwindSafe for RiscCos
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