pub struct ContextDescriptor {
pub font_bytes: FontBytes,
pub title: String,
pub window_dimensions: WindowDimensions,
pub cell_dimensions: Dimensions<NumPixels>,
pub font_dimensions: Dimensions<NumPixels>,
pub font_source_dimensions: Dimensions<FontSourceScale>,
pub underline_width: CellRatio,
pub underline_top_offset: CellRatio,
}
Fields§
§font_bytes: FontBytes
§title: String
§window_dimensions: WindowDimensions
§cell_dimensions: Dimensions<NumPixels>
§font_dimensions: Dimensions<NumPixels>
§font_source_dimensions: Dimensions<FontSourceScale>
§underline_width: CellRatio
§underline_top_offset: CellRatio
Auto Trait Implementations§
impl Freeze for ContextDescriptor
impl RefUnwindSafe for ContextDescriptor
impl Send for ContextDescriptor
impl Sync for ContextDescriptor
impl Unpin for ContextDescriptor
impl UnwindSafe for ContextDescriptor
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