pub struct Context { /* private fields */ }Expand description
Holds the key-value pairs passed to a template for rendering.
Implementations§
Trait Implementations§
Source§impl IntoContext for &Context
impl IntoContext for &Context
fn into_context(self) -> Context
Source§impl IntoContext for Context
impl IntoContext for Context
fn into_context(self) -> Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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