Struct kas_theme::Dimensions[][src]

pub struct Dimensions {
    pub scale_factor: f32,
    pub dpp: f32,
    pub pt_size: f32,
    pub font_marker_width: f32,
    pub line_height: i32,
    pub min_line_length: i32,
    pub outer_margin: u16,
    pub inner_margin: u16,
    pub text_margin: u16,
    pub frame: i32,
    pub button_frame: i32,
    pub checkbox: i32,
    pub scrollbar: Size,
    pub slider: Size,
    pub progress_bar: Size,
}

Dimensions available within DimensionsWindow

Fields

scale_factor: f32dpp: f32pt_size: f32font_marker_width: f32line_height: i32min_line_length: i32outer_margin: u16inner_margin: u16text_margin: u16frame: i32button_frame: i32checkbox: i32scrollbar: Sizeslider: Sizeprogress_bar: Size

Implementations

impl Dimensions[src]

pub fn new(params: DimensionsParams, pt_size: f32, scale_factor: f32) -> Self[src]

Trait Implementations

impl Clone for Dimensions[src]

impl Debug for Dimensions[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<S, T> Cast<T> for S where
    T: Conv<S>, 

impl<S, T> CastFloat<T> for S where
    T: ConvFloat<S>, 

impl<T> Conv<T> for T

impl<'a, T, X> Filter<&'a T> for X where
    T: Clone,
    X: Filter<T>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.