pub struct DirectiveConfig {
pub open: Tin,
pub close: Option<Tin>,
pub name: String,
}Expand description
The resolved token identities for a directive, handed to a
CustomFn callback.
Fields§
§open: TinThe directive’s OPEN token.
close: Option<Tin>The directive’s CLOSE token, when it has one.
name: StringThe directive (and rule) name.
Trait Implementations§
Source§impl Clone for DirectiveConfig
impl Clone for DirectiveConfig
Source§impl Debug for DirectiveConfig
impl Debug for DirectiveConfig
impl Eq for DirectiveConfig
Source§impl PartialEq for DirectiveConfig
impl PartialEq for DirectiveConfig
impl StructuralPartialEq for DirectiveConfig
Auto Trait Implementations§
impl Forget for DirectiveConfig
impl Freeze for DirectiveConfig
impl Move for DirectiveConfig
impl RefUnwindSafe for DirectiveConfig
impl Send for DirectiveConfigwhere
RawVecInner: Send,
impl Sync for DirectiveConfigwhere
RawVecInner: Sync,
impl Unpin for DirectiveConfig
impl UnsafeUnpin for DirectiveConfig
impl UnwindSafe for DirectiveConfigwhere
RawVecInner: UnwindSafe,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.