Struct spirt::print::pretty::FragmentPostLayout
source · pub struct FragmentPostLayout(Fragment);
Tuple Fields§
§0: Fragment
Implementations§
source§impl FragmentPostLayout
impl FragmentPostLayout
sourcepub(super) fn render_to_text_ops(
&self
) -> impl InternalIterator<Item = TextOp<'_>>
pub(super) fn render_to_text_ops( &self ) -> impl InternalIterator<Item = TextOp<'_>>
sourcepub fn render_to_html(&self) -> HtmlSnippet
pub fn render_to_html(&self) -> HtmlSnippet
Flatten the Fragment
to HTML, producing a HtmlSnippet
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FragmentPostLayout
impl !Send for FragmentPostLayout
impl !Sync for FragmentPostLayout
impl Unpin for FragmentPostLayout
impl UnwindSafe for FragmentPostLayout
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