Struct kas_theme::MultiThemeBuilder [−][src]
pub struct MultiThemeBuilder<DS> { /* fields omitted */ }
This is supported on crate feature
stack_dst
only.Expand description
Builder for MultiTheme
Construct via MultiTheme::builder
.
Implementations
Add a theme
Note: the constraints of this method vary depending on the unsize
feature.
Build
Returns None
if no themes were added.
Build
Panics if no themes were added.
Auto Trait Implementations
impl<DS> !RefUnwindSafe for MultiThemeBuilder<DS>
impl<DS> !Send for MultiThemeBuilder<DS>
impl<DS> !Sync for MultiThemeBuilder<DS>
impl<DS> Unpin for MultiThemeBuilder<DS>
impl<DS> !UnwindSafe for MultiThemeBuilder<DS>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast 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