Struct kas_theme::DimensionsWindow [−][src]
pub struct DimensionsWindow {
pub dims: Dimensions,
pub fonts: Rc<LinearMap<TextClass, FontId>>,
}Expand description
A convenient implementation of crate::Window
Fields
dims: Dimensionsfonts: Rc<LinearMap<TextClass, FontId>>Implementations
Trait Implementations
type SizeHandle = SizeHandle<'static, D>
type SizeHandle = SizeHandle<'static, D>The associated SizeHandle implementation.
Construct a SizeHandle object Read more
Auto Trait Implementations
impl !RefUnwindSafe for DimensionsWindowimpl !Send for DimensionsWindowimpl !Sync for DimensionsWindowimpl Unpin for DimensionsWindowimpl UnwindSafe for DimensionsWindowBlanket 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