pub struct ArrayRowHeader { /* private fields */ }Expand description
A type used for the construction of the row header in an
ArrayView.
Implementations§
Source§impl ArrayRowHeader
impl ArrayRowHeader
Sourcepub fn align(self, alignment: HAlign) -> Self
pub fn align(self, alignment: HAlign) -> Self
Sets the horizontal text alignment of the row header.
Sourcepub fn width(self, width: usize) -> Self
pub fn width(self, width: usize) -> Self
Sets how many characters of width this row header will try to occupy.
Sourcepub fn width_percent(self, width: usize) -> Self
pub fn width_percent(self, width: usize) -> Self
Sets what percentage of the width of the entire array this row header will try to occupy.
Auto Trait Implementations§
impl Freeze for ArrayRowHeader
impl RefUnwindSafe for ArrayRowHeader
impl Send for ArrayRowHeader
impl Sync for ArrayRowHeader
impl Unpin for ArrayRowHeader
impl UnwindSafe for ArrayRowHeader
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