pub struct InlineRenderContext {
pub quote_depth: usize,
}Expand description
Ambient context used while rendering inline rich text.
Fields§
§quote_depth: usizeQuote nesting depth inherited from an outer template wrapper.
Trait Implementations§
Source§impl Clone for InlineRenderContext
impl Clone for InlineRenderContext
Source§fn clone(&self) -> InlineRenderContext
fn clone(&self) -> InlineRenderContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineRenderContext
impl Debug for InlineRenderContext
Source§impl Default for InlineRenderContext
impl Default for InlineRenderContext
Source§fn default() -> InlineRenderContext
fn default() -> InlineRenderContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for InlineRenderContext
impl PartialEq for InlineRenderContext
Source§fn eq(&self, other: &InlineRenderContext) -> bool
fn eq(&self, other: &InlineRenderContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InlineRenderContext
impl Eq for InlineRenderContext
impl StructuralPartialEq for InlineRenderContext
Auto Trait Implementations§
impl Freeze for InlineRenderContext
impl RefUnwindSafe for InlineRenderContext
impl Send for InlineRenderContext
impl Sync for InlineRenderContext
impl Unpin for InlineRenderContext
impl UnsafeUnpin for InlineRenderContext
impl UnwindSafe for InlineRenderContext
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.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.