pub enum StripMode {
None,
Start,
End,
Both,
}
Expand description
Controls the whitespace strip behaviour on adjacent string literals.
Variants§
None
Don’t strip adjacent spaces.
Start
Strip any adjacent spaces from the immediately preceeding string literal, if there is one.
End
Strip any adjacent spaces from the immediately following string literal, if there is one.
Both
Strip any adjacent spaces from the immediately preceeding and following string literals, if there are any.
Trait Implementations§
source§impl PartialEq<StripMode> for StripMode
impl PartialEq<StripMode> for StripMode
impl Copy for StripMode
impl Eq for StripMode
impl StructuralEq for StripMode
impl StructuralPartialEq for StripMode
Auto Trait Implementations§
impl RefUnwindSafe for StripMode
impl Send for StripMode
impl Sync for StripMode
impl Unpin for StripMode
impl UnwindSafe for StripMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.