pub struct BandStyle {
pub padding: f32,
pub gap: f32,
}Expand description
Where a band sits in its frame.
Fields§
§padding: f32The frame’s inner margin: how far the band reaches out of the content to the frame’s edges.
gap: f32The room below its row, inside the band (and as much again below
its line): the kit’s header-band.padding-y, or a dialog’s
dialog-header.padding-y.
Trait Implementations§
impl Copy for BandStyle
impl StructuralPartialEq for BandStyle
Auto Trait Implementations§
impl Freeze for BandStyle
impl RefUnwindSafe for BandStyle
impl Send for BandStyle
impl Sync for BandStyle
impl Unpin for BandStyle
impl UnsafeUnpin for BandStyle
impl UnwindSafe for BandStyle
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more