pub enum BoundsPosition {
Starts,
Ends,
Contains,
Whole,
}
Expand description
Simple enum to define position only, unlinke StringBounds methods with patterns and matching options
Variants§
Trait Implementations§
Source§impl Clone for BoundsPosition
impl Clone for BoundsPosition
Source§fn clone(&self) -> BoundsPosition
fn clone(&self) -> BoundsPosition
Returns a copy 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 moreSource§impl Debug for BoundsPosition
impl Debug for BoundsPosition
impl Copy for BoundsPosition
Auto Trait Implementations§
impl Freeze for BoundsPosition
impl RefUnwindSafe for BoundsPosition
impl Send for BoundsPosition
impl Sync for BoundsPosition
impl Unpin for BoundsPosition
impl UnwindSafe for BoundsPosition
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