Enum yash_syntax::syntax::TrimLength
source · [−]pub enum TrimLength {
Shortest,
Longest,
}
Expand description
Flag that specifies pattern matching strategy in a trim.
Variants
Shortest
Match as small number of characters as possible.
Longest
Match as large number of characters as possible.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TrimLength
impl Send for TrimLength
impl Sync for TrimLength
impl Unpin for TrimLength
impl UnwindSafe for TrimLength
Blanket Implementations
Mutably borrows from an owned value. Read more