Enum hcklib::field_range::RegexOrString
source · pub enum RegexOrString {
Regex(Regex),
String(String),
}
Variants§
Trait Implementations§
source§impl Clone for RegexOrString
impl Clone for RegexOrString
source§fn clone(&self) -> RegexOrString
fn clone(&self) -> RegexOrString
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 moreAuto Trait Implementations§
impl Freeze for RegexOrString
impl RefUnwindSafe for RegexOrString
impl Send for RegexOrString
impl Sync for RegexOrString
impl Unpin for RegexOrString
impl UnwindSafe for RegexOrString
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