#[repr(C)]pub struct CaretWidth {
pub inner: PixelValue,
}Expand description
Width of the text cursor (caret) in pixels.
CSS doesn’t have a standard property for this, so we use -azul-caret-width.
Fields§
§inner: PixelValueTrait Implementations§
Source§impl Clone for CaretWidth
impl Clone for CaretWidth
Source§fn clone(&self) -> CaretWidth
fn clone(&self) -> CaretWidth
Returns a duplicate 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 CaretWidth
impl Debug for CaretWidth
Source§impl Default for CaretWidth
impl Default for CaretWidth
Source§impl FormatAsRustCode for CaretWidth
impl FormatAsRustCode for CaretWidth
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<CaretWidth> for CssProperty
impl From<CaretWidth> for CssProperty
Source§fn from(e: CaretWidth) -> Self
fn from(e: CaretWidth) -> Self
Converts to this type from the input type.
Source§impl Hash for CaretWidth
impl Hash for CaretWidth
Source§impl Ord for CaretWidth
impl Ord for CaretWidth
Source§fn cmp(&self, other: &CaretWidth) -> Ordering
fn cmp(&self, other: &CaretWidth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CaretWidth
impl PartialEq for CaretWidth
Source§impl PartialOrd for CaretWidth
impl PartialOrd for CaretWidth
Source§impl PrintAsCssValue for CaretWidth
impl PrintAsCssValue for CaretWidth
fn print_as_css_value(&self) -> String
impl Copy for CaretWidth
impl Eq for CaretWidth
impl StructuralPartialEq for CaretWidth
Auto Trait Implementations§
impl Freeze for CaretWidth
impl RefUnwindSafe for CaretWidth
impl Send for CaretWidth
impl Sync for CaretWidth
impl Unpin for CaretWidth
impl UnwindSafe for CaretWidth
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