[][src]Struct bear_lib_terminal::terminal::config::Window

pub struct Window { /* fields omitted */ }

The window configuration section repr.

None values will not override current ones.

See terminal::set().

Methods

impl Window
[src]

pub fn empty() -> Window
[src]

Construct a window configuration section override segment with everything being equal to None.

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

Window size in cells.

Default: 80x25.

pub fn cellsize(self, cellsize: Cellsize) -> Self
[src]

Size of all cells, in pixels.

Default: Cellsize::Auto.

pub fn title(self, title: String) -> Self
[src]

The terminal window's title.

Default: "BearLibTerminal".

pub fn icon<T: AsRef<Path>>(self, icon: T) -> Self
[src]

The path of the icon used for the terminal window.

Default: none.

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

Whether the terminal window should be resizeable.

Default: false.

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

Whether to enforce fullscreen mode.

Default: false.

Trait Implementations

impl ConfigPart for Window
[src]

impl Eq for Window
[src]

impl PartialEq<Window> for Window
[src]

impl Clone for Window
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Window
[src]

impl Hash for Window
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Window

impl Sync for Window

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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