pub struct EscapeInfo {
pub escape_regex: Regex,
pub has_captures: bool,
pub escape_captures: Option<CaptureMapping>,
/* private fields */
}Expand description
Information about the escape pattern for an embed operation.
The escape regex takes strict precedence over all other patterns,
unlike with_prototype where patterns compete equally.
Fields§
§escape_regex: Regex§has_captures: bool§escape_captures: Option<CaptureMapping>Trait Implementations§
Source§impl Clone for EscapeInfo
impl Clone for EscapeInfo
Source§fn clone(&self) -> EscapeInfo
fn clone(&self) -> EscapeInfo
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 EscapeInfo
impl Debug for EscapeInfo
Source§impl<'de> Deserialize<'de> for EscapeInfo
impl<'de> Deserialize<'de> for EscapeInfo
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
Source§impl PartialEq for EscapeInfo
impl PartialEq for EscapeInfo
Source§impl Serialize for EscapeInfo
impl Serialize for EscapeInfo
impl Eq for EscapeInfo
impl StructuralPartialEq for EscapeInfo
Auto Trait Implementations§
impl !Freeze for EscapeInfo
impl RefUnwindSafe for EscapeInfo
impl Send for EscapeInfo
impl Sync for EscapeInfo
impl Unpin for EscapeInfo
impl UnsafeUnpin for EscapeInfo
impl UnwindSafe for EscapeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.