[][src]Struct prototty_glutin::ContextBuilder

pub struct ContextBuilder<'a> { /* fields omitted */ }

Methods

impl<'a> ContextBuilder<'a>[src]

pub fn new_with_font(font: &'a [u8]) -> Self[src]

pub fn with_title<T: Into<String>>(self, title: T) -> Self[src]

pub fn with_cell_dimensions(self, size: Size) -> Self[src]

pub fn with_window_dimensions(self, size: Size) -> Self[src]

pub fn with_min_window_dimensions(self, size: Size) -> Self[src]

pub fn with_max_window_dimensions(self, size: Size) -> Self[src]

pub fn with_vsync(self, vsync: bool) -> Self[src]

pub fn with_underline_width(self, underline_width: u32) -> Self[src]

pub fn with_underline_position(self, underline_position: u32) -> Self[src]

pub fn with_bold_font(self, bold_font: &'a [u8]) -> Self[src]

pub fn with_font_scale(self, x: f32, y: f32) -> Self[src]

pub fn with_bold_font_scale(self, x: f32, y: f32) -> Self[src]

pub fn with_max_grid_size(self, size: Size) -> Self[src]

pub fn build(self) -> Result<Context<'a>>[src]

Auto Trait Implementations

impl<'a> Send for ContextBuilder<'a>

impl<'a> !Sync for ContextBuilder<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.