pub enum ParameterMode {
In,
Out,
InOut,
Variadic,
}Expand description
Parameter mode (IN, OUT, INOUT, VARIADIC)
Specifies the direction and behavior of a function parameter.
Variants§
In
IN - Input parameter (default)
Out
OUT - Output parameter
InOut
INOUT - Input/output parameter
Variadic
VARIADIC - Variable number of arguments
Trait Implementations§
Source§impl Clone for ParameterMode
impl Clone for ParameterMode
Source§fn clone(&self) -> ParameterMode
fn clone(&self) -> ParameterMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterMode
impl Debug for ParameterMode
Source§impl PartialEq for ParameterMode
impl PartialEq for ParameterMode
impl Eq for ParameterMode
impl StructuralPartialEq for ParameterMode
Auto Trait Implementations§
impl Freeze for ParameterMode
impl RefUnwindSafe for ParameterMode
impl Send for ParameterMode
impl Sync for ParameterMode
impl Unpin for ParameterMode
impl UnsafeUnpin for ParameterMode
impl UnwindSafe for ParameterMode
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