pub struct StyledDataFrame<'a> { /* private fields */ }Implementations§
Source§impl<'a> StyledDataFrame<'a>
impl<'a> StyledDataFrame<'a>
pub fn dataframe(&self) -> &'a DataFrame
Sourcepub fn to_html(&self, include_index: bool) -> String
pub fn to_html(&self, include_index: bool) -> String
Render the styled DataFrame as an HTML table.
This delegates to the same table formatter as DataFrame::to_html.
Sourcepub fn to_string_table(&self, include_index: bool) -> String
pub fn to_string_table(&self, include_index: bool) -> String
Render the styled DataFrame as the plain text table representation.
Sourcepub fn to_html_classed(&self, include_index: bool, class_name: &str) -> String
pub fn to_html_classed(&self, include_index: bool, class_name: &str) -> String
Render the HTML table with a single CSS class.
Sourcepub fn to_html_with_classes(
&self,
include_index: bool,
classes: &[&str],
) -> String
pub fn to_html_with_classes( &self, include_index: bool, classes: &[&str], ) -> String
Render the HTML table with caller-provided CSS classes.
Empty class names are ignored. If no classes remain, the existing
dataframe class is preserved.
Trait Implementations§
Source§impl<'a> Clone for StyledDataFrame<'a>
impl<'a> Clone for StyledDataFrame<'a>
Source§fn clone(&self) -> StyledDataFrame<'a>
fn clone(&self) -> StyledDataFrame<'a>
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 moreimpl<'a> Copy for StyledDataFrame<'a>
Source§impl<'a> Debug for StyledDataFrame<'a>
impl<'a> Debug for StyledDataFrame<'a>
Source§impl<'a> PartialEq for StyledDataFrame<'a>
impl<'a> PartialEq for StyledDataFrame<'a>
Source§fn eq(&self, other: &StyledDataFrame<'a>) -> bool
fn eq(&self, other: &StyledDataFrame<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for StyledDataFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for StyledDataFrame<'a>
impl<'a> RefUnwindSafe for StyledDataFrame<'a>
impl<'a> Send for StyledDataFrame<'a>
impl<'a> Sync for StyledDataFrame<'a>
impl<'a> Unpin for StyledDataFrame<'a>
impl<'a> UnsafeUnpin for StyledDataFrame<'a>
impl<'a> UnwindSafe for StyledDataFrame<'a>
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