pub struct BoxStyle {
pub colour: [f32; 4],
pub padding: f32,
}Expand description
A box behind the text (caption pill, card scrim).
Fields§
§colour: [f32; 4]§padding: f32Padding around the text in px at frame_size.
Trait Implementations§
impl StructuralPartialEq for BoxStyle
Auto Trait Implementations§
impl Forget for BoxStyle
impl Freeze for BoxStyle
impl RefUnwindSafe for BoxStyle
impl Send for BoxStyle
impl Sync for BoxStyle
impl Unpin for BoxStyle
impl UnsafeUnpin for BoxStyle
impl UnwindSafe for BoxStyle
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