[−][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]
fn to_config_str(&self) -> String
[src]
impl Clone for Window
[src]
fn clone(&self) -> Window
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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,