pub enum RowDensity {
Auto,
Compact,
Standard,
Tall,
}Expand description
Line-height / character aspect ratio for standalone .txt and PNG output.
Variants§
Auto
Matches Clairlune’s JetBrains Mono cell geometry (0.54).
Compact
Tighter terminal spacing (0.45).
Standard
Classic 1:2 terminal cell (0.50).
Tall
Looser editor/prose line spacing (0.62).
Implementations§
Source§impl RowDensity
impl RowDensity
Sourcepub fn cell_aspect(self) -> f64
pub fn cell_aspect(self) -> f64
Width-to-height ratio of one character cell.
Trait Implementations§
Source§impl Clone for RowDensity
impl Clone for RowDensity
impl Copy for RowDensity
Source§impl Debug for RowDensity
impl Debug for RowDensity
Source§impl Default for RowDensity
impl Default for RowDensity
Source§impl<'de> Deserialize<'de> for RowDensity
impl<'de> Deserialize<'de> for RowDensity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RowDensity
Source§impl PartialEq for RowDensity
impl PartialEq for RowDensity
Source§impl Serialize for RowDensity
impl Serialize for RowDensity
impl StructuralPartialEq for RowDensity
Auto Trait Implementations§
impl Forget for RowDensity
impl Freeze for RowDensity
impl Move for RowDensity
impl RefUnwindSafe for RowDensity
impl Send for RowDensity
impl Sync for RowDensity
impl Unpin for RowDensity
impl UnsafeUnpin for RowDensity
impl UnwindSafe for RowDensity
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