pub enum Input {
Default,
Mut,
}Expand description
How a generated function takes an input.
Variants§
Default
Scalars by value, arrays by reference (&[T; N]).
Mut
By mutable reference (&mut T or &mut [T; N]), so that an output
can be written back into it (Output::Into).
Trait Implementations§
impl Copy for Input
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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