[−][src]Struct bear_lib_terminal::terminal::config::Window
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 Clone for Window
[src][+]
impl Eq for Window
[src]
impl PartialEq<Window> for Window
[src][+]
impl Debug for Window
[src][+]
impl Hash for Window
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,