pub enum ParameterKind {
Required,
Optional,
Remainder,
}Expand description
The declaration role of a parameter.
Variants§
Required
A value must be supplied by the caller.
Optional
Guest policy may supply a default when the caller omits the value.
Remainder
Remaining arguments in the selected call-mode partition are collected.
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParameterKind
Source§impl Debug for ParameterKind
impl Debug for ParameterKind
impl Eq for ParameterKind
Source§impl Hash for ParameterKind
impl Hash for ParameterKind
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
impl StructuralPartialEq for ParameterKind
Auto Trait Implementations§
impl Freeze for ParameterKind
impl RefUnwindSafe for ParameterKind
impl Send for ParameterKind
impl Sync for ParameterKind
impl Unpin for ParameterKind
impl UnsafeUnpin for ParameterKind
impl UnwindSafe for ParameterKind
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