pub enum RawContextPattern {
Meta(MetaPattern),
Match(MatchPattern),
Include(IncludePattern),
}Expand description
A single entry in a context’s pattern list.
Variants§
Meta(MetaPattern)
A meta directive (must appear before non-meta patterns in a context).
Match(MatchPattern)
A regex match pattern.
Include(IncludePattern)
An include pattern.
Trait Implementations§
Source§impl Clone for RawContextPattern
impl Clone for RawContextPattern
Source§fn clone(&self) -> RawContextPattern
fn clone(&self) -> RawContextPattern
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 moreSource§impl Debug for RawContextPattern
impl Debug for RawContextPattern
Source§impl<'de> Deserialize<'de> for RawContextPattern
impl<'de> Deserialize<'de> for RawContextPattern
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawContextPattern
impl RefUnwindSafe for RawContextPattern
impl Send for RawContextPattern
impl Sync for RawContextPattern
impl Unpin for RawContextPattern
impl UnsafeUnpin for RawContextPattern
impl UnwindSafe for RawContextPattern
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