pub struct CollapsingStyle {
pub transition: Transition,
pub icon_size: f32,
pub icon_color: Color,
pub background: Color,
pub border_width: BorderWidth,
pub border_radius: BorderRadius,
pub border_color: Color,
}Expand description
The style of a collapsing view.
Fields§
§transition: TransitionThe transition of the view.
icon_size: f32The size of the icon.
icon_color: ColorThe color of the icon.
background: ColorThe background color of the header.
border_width: BorderWidthThe border width of the header.
border_radius: BorderRadiusThe border radius of the header.
border_color: ColorThe color of the border of the header.
Trait Implementations§
Source§impl Clone for CollapsingStyle
impl Clone for CollapsingStyle
Source§fn clone(&self) -> CollapsingStyle
fn clone(&self) -> CollapsingStyle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Rebuild for CollapsingStyle
impl Rebuild for CollapsingStyle
Source§fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &CollapsingStyle)
fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &CollapsingStyle)
Rebuild the view.
Source§impl Style for CollapsingStyle
impl Style for CollapsingStyle
Source§fn default_style() -> StyleBuilder<CollapsingStyle>
fn default_style() -> StyleBuilder<CollapsingStyle>
The default style of the object.
Auto Trait Implementations§
impl Freeze for CollapsingStyle
impl RefUnwindSafe for CollapsingStyle
impl Send for CollapsingStyle
impl Sync for CollapsingStyle
impl Unpin for CollapsingStyle
impl UnwindSafe for CollapsingStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more