Struct viewy::components::TitleBar [−][src]
pub struct TitleBar {
pub title: String,
pub is_sticky: bool,
pub left_item: Option<Box<dyn Renderable>>,
pub right_item: Option<Box<dyn Renderable>>,
pub bottom_item: Option<Box<dyn Renderable>>,
// some fields omitted
}Fields
title: Stringis_sticky: boolleft_item: Option<Box<dyn Renderable>>right_item: Option<Box<dyn Renderable>>bottom_item: Option<Box<dyn Renderable>>Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TitleBar
impl !UnwindSafe for TitleBar
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds error is returned which contains the unclamped color. Read more
