pub struct MethodRecipe { /* private fields */ }Expand description
Owns a repeatable native method with full input and output shapes.
One output receives the whole result; multiple outputs destructure a tuple.
See CompositionBuilder::method.
Implementations§
Source§impl MethodRecipe
impl MethodRecipe
Sourcepub fn input_shapes(&self) -> &[TypeShape]
pub fn input_shapes(&self) -> &[TypeShape]
Sourcepub fn output_shapes(&self) -> &[TypeShape]
pub fn output_shapes(&self) -> &[TypeShape]
Auto Trait Implementations§
impl !RefUnwindSafe for MethodRecipe
impl !Send for MethodRecipe
impl !Sync for MethodRecipe
impl !UnwindSafe for MethodRecipe
impl Freeze for MethodRecipe
impl Unpin for MethodRecipe
impl UnsafeUnpin for MethodRecipe
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