Struct kas_theme::Dimensions [−][src]
Dimensions available within DimensionsWindow
Fields
scale_factor: f32
dpp: f32
pt_size: f32
font_marker_width: f32
line_height: i32
min_line_length: i32
outer_margin: u16
inner_margin: u16
text_margin: u16
frame: i32
checkbox: i32
scrollbar: Size
slider: Size
progress_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]
fn clone(&self) -> Dimensions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Dimensions
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Cast<T> for S where
T: Conv<S>,
T: Conv<S>,
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>,
T: ConvFloat<S>,
pub fn cast_trunc(self) -> T
pub fn cast_nearest(self) -> T
pub fn cast_floor(self) -> T
pub fn cast_ceil(self) -> T
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
impl<T> Conv<T> for T
impl<'a, T, X> Filter<&'a T> for X where
T: Clone,
X: Filter<T>,
[src]
T: Clone,
X: Filter<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,