#[non_exhaustive]pub enum RecordStyle {
KeysRight,
KeysLeft,
Boxed,
}Expand description
How a Record of key and value rows is drawn.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KeysRight
No frame. Keys are right-aligned in one column.
KeysLeft
No frame. Keys are left-aligned in one column.
Boxed
An outer frame with one rule between the keys and the values. Keys are left-aligned.
Trait Implementations§
Source§impl Clone for RecordStyle
impl Clone for RecordStyle
impl Copy for RecordStyle
Source§impl Debug for RecordStyle
impl Debug for RecordStyle
Source§impl Default for RecordStyle
impl Default for RecordStyle
impl Eq for RecordStyle
Source§impl Hash for RecordStyle
impl Hash for RecordStyle
Source§impl PartialEq for RecordStyle
impl PartialEq for RecordStyle
impl StructuralPartialEq for RecordStyle
Auto Trait Implementations§
impl Forget for RecordStyle
impl Freeze for RecordStyle
impl RefUnwindSafe for RecordStyle
impl Send for RecordStyle
impl Sync for RecordStyle
impl Unpin for RecordStyle
impl UnsafeUnpin for RecordStyle
impl UnwindSafe for RecordStyle
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