pub struct Context(/* private fields */);Expand description
A template rendering context.
Constructed via the context! macro or through the
IntoContext trait (implemented for all Serialize types when the
std feature is enabled).
Trait Implementations§
Source§impl IntoContext for Context
impl IntoContext for Context
Source§fn into_context(self) -> Result<Context, SerdeError>
fn into_context(self) -> Result<Context, SerdeError>
Returns itself
Auto Trait Implementations§
impl !Send for Context
impl !Sync for Context
impl Freeze for Context
impl RefUnwindSafe 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