pub enum ParameterKind {
Singular,
Plus,
Star,
}
Expand description
Parameters can either be…
Variants§
Singular
…singular, accepting a single argument
Plus
…variadic, accepting one or more arguments
Star
…variadic, accepting zero or more arguments
Implementations§
Source§impl ParameterKind
impl ParameterKind
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
Returns a copy 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 ParameterKind
impl Debug for ParameterKind
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
Source§impl Serialize for ParameterKind
impl Serialize for ParameterKind
impl Copy for ParameterKind
impl Eq 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 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