pub struct TExpr {
pub text: String,
pub offset: usize,
}Expand description
A LOGOS expression kept as text, with the byte offset of text in the template source.
Fields§
§text: String§offset: usizeTrait Implementations§
impl Eq for TExpr
impl StructuralPartialEq for TExpr
Auto Trait Implementations§
impl Freeze for TExpr
impl RefUnwindSafe for TExpr
impl Send for TExpr
impl Sync for TExpr
impl Unpin for TExpr
impl UnsafeUnpin for TExpr
impl UnwindSafe for TExpr
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.