Enum bazaar::globbing::Replacement
source · pub enum Replacement {
String(String),
Function(fn(_: &str) -> String),
Closure(Box<dyn FnMut(String) -> String + Sync + Send>),
}
Variants§
String(String)
Function(fn(_: &str) -> String)
Closure(Box<dyn FnMut(String) -> String + Sync + Send>)
Auto Trait Implementations§
impl !RefUnwindSafe for Replacement
impl Send for Replacement
impl Sync for Replacement
impl Unpin for Replacement
impl !UnwindSafe for Replacement
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