[−][src]Struct alacritty::config::window::WindowConfig
Fields
position: Option<Delta<i32>>
Initial position.
decorations: Decorations
Draw the window with title bar / borders.
startup_mode: StartupMode
Startup mode.
embed: Option<c_ulong>
XEmbed parent.
gtk_theme_variant: Option<String>
GTK theme variant.
dynamic_padding: bool
Spread out additional padding evenly.
dynamic_title: bool
Use dynamic title.
title: String
Window title.
class: Class
Window class.
padding: Delta<u8>
Pixel padding.
dimensions: Dimensions
Initial dimensions.
Implementations
impl WindowConfig
[src]
pub fn dimensions(&self) -> Option<Dimensions>
[src]
pub fn padding(&self, dpr: f64) -> (f32, f32)
[src]
pub fn fullscreen(&self) -> Option<Fullscreen>
[src]
pub fn maximized(&self) -> bool
[src]
Trait Implementations
impl Clone for WindowConfig
[src]
fn clone(&self) -> WindowConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WindowConfig
[src]
impl Default for WindowConfig
[src]
impl<'de> Deserialize<'de> for WindowConfig
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for WindowConfig
[src]
impl PartialEq<WindowConfig> for WindowConfig
[src]
fn eq(&self, other: &WindowConfig) -> bool
[src]
fn ne(&self, other: &WindowConfig) -> bool
[src]
impl StructuralEq for WindowConfig
[src]
impl StructuralPartialEq for WindowConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowConfig
impl Send for WindowConfig
impl Sync for WindowConfig
impl Unpin for WindowConfig
impl UnwindSafe for WindowConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,