Enum alacritty::config::window::StartupMode
source · pub enum StartupMode {
Windowed,
Maximized,
Fullscreen,
}
Variants§
Trait Implementations§
source§impl Clone for StartupMode
impl Clone for StartupMode
source§fn clone(&self) -> StartupMode
fn clone(&self) -> StartupMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StartupMode
impl Debug for StartupMode
source§impl Default for StartupMode
impl Default for StartupMode
source§fn default() -> StartupMode
fn default() -> StartupMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StartupMode
impl<'de> Deserialize<'de> for StartupMode
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<StartupMode> for StartupMode
impl PartialEq<StartupMode> for StartupMode
source§fn eq(&self, other: &StartupMode) -> bool
fn eq(&self, other: &StartupMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SerdeReplace for StartupMode
impl SerdeReplace for StartupMode
impl Copy for StartupMode
impl Eq for StartupMode
impl StructuralEq for StartupMode
impl StructuralPartialEq for StartupMode
Auto Trait Implementations§
impl RefUnwindSafe for StartupMode
impl Send for StartupMode
impl Sync for StartupMode
impl Unpin for StartupMode
impl UnwindSafe for StartupMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.