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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.