pub struct MacForm<'a> { /* private fields */ }Expand description
Authentic macOS AppKit 2-column Form container.
Implementations§
Source§impl<'a> MacForm<'a>
impl<'a> MacForm<'a>
Sourcepub fn theme(self, theme: &'a MacTheme) -> Self
pub fn theme(self, theme: &'a MacTheme) -> Self
Sets the dynamic theme to derive AppKit token spacing.
Sourcepub fn spacing(self, spacing: impl Into<Vec2>) -> Self
pub fn spacing(self, spacing: impl Into<Vec2>) -> Self
Overrides inter-item spacing between columns and rows in points.
Sourcepub fn min_col_width(self, min_col_width: f32) -> Self
pub fn min_col_width(self, min_col_width: f32) -> Self
Overrides the minimum column width in points.
Auto Trait Implementations§
impl<'a> Forget for MacForm<'a>
impl<'a> Freeze for MacForm<'a>
impl<'a> RefUnwindSafe for MacForm<'a>
impl<'a> Send for MacForm<'a>
impl<'a> Sync for MacForm<'a>
impl<'a> Unpin for MacForm<'a>
impl<'a> UnsafeUnpin for MacForm<'a>
impl<'a> UnwindSafe for MacForm<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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