pub enum InactivePaneDimMode {
Darken,
Fade,
}Expand description
How unfocused panes are dimmed when dim_inactive_panes is on (UX.md PN9)
Variants§
Darken
Scale colors toward black; text stays opaque (default)
Fade
Lower opacity, text included, so a background image or shader shows through
Implementations§
Source§impl InactivePaneDimMode
impl InactivePaneDimMode
Sourcepub const ALL: &'static [InactivePaneDimMode]
pub const ALL: &'static [InactivePaneDimMode]
All modes for UI dropdowns
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Display name for UI
Trait Implementations§
Source§impl Clone for InactivePaneDimMode
impl Clone for InactivePaneDimMode
impl Copy for InactivePaneDimMode
Source§impl Debug for InactivePaneDimMode
impl Debug for InactivePaneDimMode
Source§impl Default for InactivePaneDimMode
impl Default for InactivePaneDimMode
Source§impl<'de> Deserialize<'de> for InactivePaneDimMode
impl<'de> Deserialize<'de> for InactivePaneDimMode
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
impl Eq for InactivePaneDimMode
Source§impl PartialEq for InactivePaneDimMode
impl PartialEq for InactivePaneDimMode
Source§impl Serialize for InactivePaneDimMode
impl Serialize for InactivePaneDimMode
impl StructuralPartialEq for InactivePaneDimMode
Auto Trait Implementations§
impl Forget for InactivePaneDimMode
impl Freeze for InactivePaneDimMode
impl Move for InactivePaneDimMode
impl RefUnwindSafe for InactivePaneDimMode
impl Send for InactivePaneDimMode
impl Sync for InactivePaneDimMode
impl Unpin for InactivePaneDimMode
impl UnsafeUnpin for InactivePaneDimMode
impl UnwindSafe for InactivePaneDimMode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.