pub enum This<'a> {
Value(&'a Value),
Guarded(&'a Value, &'a [(&'a str, &'a str)]),
Opaque(&'static str),
}Expand description
What this is inside a call.
Variants§
Value(&'a Value)
The object the function was read from (fmt.money(1), and Liquid’s
{{ fmt.who }}), as the page sees it.
Guarded(&'a Value, &'a [(&'a str, &'a str)])
An object as the page sees it, but reading any of these keys (key, and what it is in
11ty) refuses the page: parts of 11ty’s this Brrrty doesn’t model.
Opaque(&'static str)
Something Brrrty doesn’t model (Nunjucks’s render context, 11ty’s filter collection): reading any property of it refuses the page.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for This<'a>
impl<'a> Freeze for This<'a>
impl<'a> Move for This<'a>
impl<'a> RefUnwindSafe for This<'a>
impl<'a> Send for This<'a>
impl<'a> Sync for This<'a>
impl<'a> Unpin for This<'a>
impl<'a> UnsafeUnpin for This<'a>
impl<'a> UnwindSafe for This<'a>
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