pub struct CursorStyle {
pub width: f32,
pub color: Color,
pub corner_radius: f32,
pub blink_rate: f32,
pub shape: CursorShape,
}Fields§
§width: f32§color: Color§corner_radius: f32§blink_rate: f32Seconds per half-cycle (on/off) of the blink — matches the
pre-Step-5 hardcoded 0.53 by default.
shape: CursorShapeTrait Implementations§
Source§impl Clone for CursorStyle
impl Clone for CursorStyle
Source§fn clone(&self) -> CursorStyle
fn clone(&self) -> CursorStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CursorStyle
impl Debug for CursorStyle
Source§impl Default for CursorStyle
impl Default for CursorStyle
Auto Trait Implementations§
impl !RefUnwindSafe for CursorStyle
impl !UnwindSafe for CursorStyle
impl Freeze for CursorStyle
impl Send for CursorStyle
impl Sync for CursorStyle
impl Unpin for CursorStyle
impl UnsafeUnpin for CursorStyle
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