pub struct CotisStyle<Sizing> {
pub sizing: Sizing,
pub layout: LayoutStyle,
pub background_color: Color,
pub corner_radius: CornerRadiiStyle,
pub floating: Option<FloatingElementStyle>,
pub clip: ClipElementConfig,
pub border: BorderElementStyle,
}Expand description
Full style payload attached to each configured element.
Fields§
§sizing: SizingElement sizing behavior used by the layout engine.
layout: LayoutStyleChild layout settings (direction, gap, padding, alignment).
background_color: ColorElement background color.
corner_radius: CornerRadiiStylePer-corner radius for rounded corners.
floating: Option<FloatingElementStyle>Optional floating behavior relative to parent bounds.
clip: ClipElementConfigClip behavior for element content.
border: BorderElementStyleBorder styling.
Trait Implementations§
Source§impl<Sizing: Clone> Clone for CotisStyle<Sizing>
impl<Sizing: Clone> Clone for CotisStyle<Sizing>
Source§fn clone(&self) -> CotisStyle<Sizing>
fn clone(&self) -> CotisStyle<Sizing>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Sizing: Copy> Copy for CotisStyle<Sizing>
Source§impl<Sizing: Debug> Debug for CotisStyle<Sizing>
impl<Sizing: Debug> Debug for CotisStyle<Sizing>
Source§impl Default for CotisStyle<Sizing>
impl Default for CotisStyle<Sizing>
Source§impl Default for CotisStyle<DoubleAxisSizing>
impl Default for CotisStyle<DoubleAxisSizing>
Auto Trait Implementations§
impl<Sizing> Freeze for CotisStyle<Sizing>where
Sizing: Freeze,
impl<Sizing> RefUnwindSafe for CotisStyle<Sizing>where
Sizing: RefUnwindSafe,
impl<Sizing> Send for CotisStyle<Sizing>where
Sizing: Send,
impl<Sizing> Sync for CotisStyle<Sizing>where
Sizing: Sync,
impl<Sizing> Unpin for CotisStyle<Sizing>where
Sizing: Unpin,
impl<Sizing> UnsafeUnpin for CotisStyle<Sizing>where
Sizing: UnsafeUnpin,
impl<Sizing> UnwindSafe for CotisStyle<Sizing>where
Sizing: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.