Struct kas_theme::DimensionsWindow [−][src]
A convenient implementation of crate::Window
Fields
dims: Dimensions
Implementations
impl DimensionsWindow
[src]
pub fn new(dims: DimensionsParams, pt_size: f32, scale_factor: f32) -> Self
[src]
Trait Implementations
impl Window for DimensionsWindow
[src]
type SizeHandle = SizeHandle<'static>
The associated SizeHandle
implementation.
unsafe fn size_handle<'a>(&'a mut self) -> Self::SizeHandle
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
Auto Trait Implementations
impl RefUnwindSafe for DimensionsWindow
impl Send for DimensionsWindow
impl Sync for DimensionsWindow
impl Unpin for DimensionsWindow
impl UnwindSafe for DimensionsWindow
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, 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>,