Enum yash_syntax::syntax::Modifier
source · [−]Expand description
Attribute that modifies a parameter expansion.
Variants
None
No modifier.
Length
#
prefix. (${#foo}
)
Switch(Switch)
+
, -
, =
or ?
suffix, optionally with :
. (${foo:-bar}
)
Trim(Trim)
#
, ##
, %
or %%
suffix.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Modifier
impl !UnwindSafe for Modifier
Blanket Implementations
Mutably borrows from an owned value. Read more