Struct chalk_solve::display::render_trait::DisplayRenderAsRust
source · pub(super) struct DisplayRenderAsRust<'a, I: Interner, T> {
s: &'a InternalWriterState<'a, I>,
rar: &'a T,
}
Expand description
Displays RenderAsRust
data.
This is a utility struct for making RenderAsRust
nice to use with rust format macros.
Fields§
§s: &'a InternalWriterState<'a, I>
§rar: &'a T
Trait Implementations§
Auto Trait Implementations§
impl<'a, I, T> Freeze for DisplayRenderAsRust<'a, I, T>
impl<'a, I, T> !RefUnwindSafe for DisplayRenderAsRust<'a, I, T>
impl<'a, I, T> !Send for DisplayRenderAsRust<'a, I, T>
impl<'a, I, T> !Sync for DisplayRenderAsRust<'a, I, T>
impl<'a, I, T> Unpin for DisplayRenderAsRust<'a, I, T>
impl<'a, I, T> !UnwindSafe for DisplayRenderAsRust<'a, I, T>
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.