pub struct Header<T> { /* private fields */ }Implementations§
Source§impl<T> Header<T>
impl<T> Header<T>
Sourcepub fn values(self, value: Vec<T>) -> Self
pub fn values(self, value: Vec<T>) -> Self
Header cell values. values[m][n] represents the value of the nth
point in column m, therefore the values[m] vector length for all
columns must be the same (longer vectors, will be truncated). Each
value must be a finite number or a string.
pub fn height(self, value: f64) -> Self
pub fn align(self, value: impl AsRef<str>) -> Self
pub fn line(self, value: Line) -> Self
Sourcepub fn fill(self, value: Fill) -> Self
pub fn fill(self, value: Fill) -> Self
Sets the cell fill color. It accepts either a specific color, or an array of colors or a 2D array of colors
pub fn font(self, value: Font) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Header<T>
impl<T> !RefUnwindSafe for Header<T>
impl<T> Send for Header<T>where
T: Send,
impl<T> Sync for Header<T>where
T: Sync,
impl<T> Unpin for Header<T>where
T: Unpin,
impl<T> !UnwindSafe for Header<T>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)