Enum termwiz::surface::CursorShape
source · [−]pub enum CursorShape {
Default,
BlinkingBlock,
SteadyBlock,
BlinkingUnderline,
SteadyUnderline,
BlinkingBar,
SteadyBar,
}
Variants
Default
BlinkingBlock
SteadyBlock
BlinkingUnderline
SteadyUnderline
BlinkingBar
SteadyBar
Implementations
sourceimpl CursorShape
impl CursorShape
pub fn is_blinking(self) -> bool
Trait Implementations
sourceimpl Clone for CursorShape
impl Clone for CursorShape
sourcefn clone(&self) -> CursorShape
fn clone(&self) -> CursorShape
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CursorShape
impl Debug for CursorShape
sourceimpl Default for CursorShape
impl Default for CursorShape
sourcefn default() -> CursorShape
fn default() -> CursorShape
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CursorShape
impl<'de> Deserialize<'de> for CursorShape
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 FromDynamic for CursorShape
impl FromDynamic for CursorShape
fn from_dynamic(
value: &Value,
options: FromDynamicOptions
) -> Result<Self, Error>
sourceimpl Hash for CursorShape
impl Hash for CursorShape
sourceimpl PartialEq<CursorShape> for CursorShape
impl PartialEq<CursorShape> for CursorShape
sourceimpl Serialize for CursorShape
impl Serialize for CursorShape
sourceimpl ToDynamic for CursorShape
impl ToDynamic for CursorShape
fn to_dynamic(&self) -> Value
impl Copy for CursorShape
impl Eq for CursorShape
impl StructuralEq for CursorShape
impl StructuralPartialEq for CursorShape
Auto Trait Implementations
impl RefUnwindSafe for CursorShape
impl Send for CursorShape
impl Sync for CursorShape
impl Unpin for CursorShape
impl UnwindSafe for CursorShape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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