pub struct RasterInfo {
pub size_pixels: SizeInPixels,
pub glyph_size: SizeInPixels,
pub size_chars: CharsXY,
}Expand description
Container for configuration information of the backing surface.
Fields§
§size_pixels: SizeInPixelsSize of the console in pixels.
glyph_size: SizeInPixelsSize of each character.
size_chars: CharsXYSize of the console in characters. This is derived from size_pixels and glyph_size.
Auto Trait Implementations§
impl Freeze for RasterInfo
impl RefUnwindSafe for RasterInfo
impl Send for RasterInfo
impl Sync for RasterInfo
impl Unpin for RasterInfo
impl UnsafeUnpin for RasterInfo
impl UnwindSafe for RasterInfo
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