Struct sixtyfps_rendering_backend_qt::native_widgets::NativeStyleMetrics[][src]

#[repr(C)]
pub struct NativeStyleMetrics { pub layout_spacing: Property<f32>, pub layout_padding: Property<f32>, pub text_cursor_width: Property<f32>, pub window_background: Property<Color>, }

Fields

layout_spacing: Property<f32>layout_padding: Property<f32>text_cursor_width: Property<f32>window_background: Property<Color>

Implementations

impl NativeStyleMetrics[src]

pub const FIELD_OFFSETS: NativeStyleMetricsFieldsOffsets[src]

Return a struct containing the offset of for the fields of this struct

impl NativeStyleMetrics[src]

pub fn layout_spacing(self: Pin<&Self>) -> f32[src]

pub fn layout_padding(self: Pin<&Self>) -> f32[src]

pub fn text_cursor_width(self: Pin<&Self>) -> f32[src]

pub fn window_background(self: Pin<&Self>) -> Color[src]

impl NativeStyleMetrics[src]

pub fn new() -> Pin<Rc<Self>>[src]

Trait Implementations

impl BuiltinItem for NativeStyleMetrics[src]

impl Default for NativeStyleMetrics[src]

impl<'__dummy_lifetime> Unpin for NativeStyleMetrics where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.