pub enum GlobSegment {
Literal(String),
Wildcard,
}Expand description
A segment in a glob pattern.
Variants§
Trait Implementations§
Source§impl Clone for GlobSegment
impl Clone for GlobSegment
Source§fn clone(&self) -> GlobSegment
fn clone(&self) -> GlobSegment
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GlobSegment
impl RefUnwindSafe for GlobSegment
impl Send for GlobSegment
impl Sync for GlobSegment
impl Unpin for GlobSegment
impl UnsafeUnpin for GlobSegment
impl UnwindSafe for GlobSegment
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