pub struct Shape {
pub name: &'static str,
pub font: Font,
pub cell_width: u32,
pub cell_height: u32,
pub stretch: bool,
pub variant: Variant,
pub stopword_dim: bool,
pub columns: u32,
pub line_repeat: u32,
pub frame_size: u32,
}Expand description
One eval-validated frame shape.
name is a stable identifier matching omp’s SHAPE_VARIANTS table.
The MVP carries a hard-coded name on each shape entry; future
extension can compute names from fields, but the table is the source
of truth for now (matches omp SHAPE_VARIANTS exactly).
Fields§
§name: &'static strStable name (e.g. “11on16-bw”). Used as lookup key.
font: FontBundled font.
cell_width: u32§cell_height: u32§stretch: bool§variant: Variant§stopword_dim: bool§columns: u32§line_repeat: u32§frame_size: u32Implementations§
Trait Implementations§
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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