Struct kas_theme::Dimensions [−][src]
pub struct Dimensions {Show fields
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,
}Expand description
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: i32checkbox: i32scrollbar: Sizeslider: Sizeprogress_bar: SizeImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dimensionsimpl Send for Dimensionsimpl Sync for Dimensionsimpl Unpin for Dimensionsimpl UnwindSafe for DimensionsBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> TCast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> TCast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> TCast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>Try convert the ceiling to an integer Read more