pub enum ParameterTransformOp {
CapitalizeInitial,
ExpandEscapeSequences,
PossiblyQuoteWithArraysExpanded {
separate_words: bool,
},
PromptExpand,
Quoted,
ToAssignmentLogic,
ToAttributeFlags,
ToLowerCase,
ToUpperCase,
}Expand description
Kind of operation to apply to a parameter.
Variants§
CapitalizeInitial
Capitalizate initials.
ExpandEscapeSequences
Expand escape sequences.
PossiblyQuoteWithArraysExpanded
Possibly quote with arrays expanded.
PromptExpand
Apply prompt expansion.
Quoted
Quote the parameter.
ToAssignmentLogic
Translate to a format usable in an assignment/declaration.
ToAttributeFlags
Translate to the parameter’s attribute flags.
ToLowerCase
Translate to lowercase.
ToUpperCase
Translate to uppercase.
Trait Implementations§
Source§impl Clone for ParameterTransformOp
impl Clone for ParameterTransformOp
Source§fn clone(&self) -> ParameterTransformOp
fn clone(&self) -> ParameterTransformOp
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 moreAuto Trait Implementations§
impl Freeze for ParameterTransformOp
impl RefUnwindSafe for ParameterTransformOp
impl Send for ParameterTransformOp
impl Sync for ParameterTransformOp
impl Unpin for ParameterTransformOp
impl UnwindSafe for ParameterTransformOp
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