Struct alacritty_terminal::config::Cursor
source · [−]pub struct Cursor {
pub style: ConfigCursorStyle,
pub vi_mode_style: Option<ConfigCursorStyle>,
pub unfocused_hollow: bool,
/* private fields */
}
Fields
style: ConfigCursorStyle
vi_mode_style: Option<ConfigCursorStyle>
unfocused_hollow: bool
Implementations
sourceimpl Cursor
impl Cursor
pub fn thickness(self) -> f32
pub fn style(self) -> CursorStyle
pub fn vi_mode_style(self) -> Option<CursorStyle>
pub fn blink_interval(self) -> u64
pub fn blink_timeout(self) -> u64
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Cursor
impl<'de> Deserialize<'de> for Cursor
sourcefn 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
sourceimpl PartialEq<Cursor> for Cursor
impl PartialEq<Cursor> for Cursor
sourceimpl<'de> SerdeReplace for Cursor
impl<'de> SerdeReplace for Cursor
impl Copy for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
sourcefn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.