Enum alacritty::string::TextAction
source · pub enum TextAction {
Spacer,
Terminate,
Shortener,
Char,
}
Expand description
The action performed by StrShortener
.
Variants§
Spacer
Yield a spacer.
Terminate
Terminate state reached.
Shortener
Yield a shortener.
Char
Yield a character.
Trait Implementations§
source§impl Clone for TextAction
impl Clone for TextAction
source§fn clone(&self) -> TextAction
fn clone(&self) -> TextAction
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 TextAction
impl Debug for TextAction
source§impl PartialEq<TextAction> for TextAction
impl PartialEq<TextAction> for TextAction
source§fn eq(&self, other: &TextAction) -> bool
fn eq(&self, other: &TextAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextAction
impl Eq for TextAction
impl StructuralEq for TextAction
impl StructuralPartialEq for TextAction
Auto Trait Implementations§
impl RefUnwindSafe for TextAction
impl Send for TextAction
impl Sync for TextAction
impl Unpin for TextAction
impl UnwindSafe for TextAction
Blanket Implementations§
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.