[−][src]Struct prototty_glutin::ContextBuilder
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]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,