pub struct ColumnSpec {
pub vertical_arrangement: LinearArrangement,
pub horizontal_alignment: HorizontalAlignment,
}Expand description
Specification for Column layout behavior.
Fields§
§vertical_arrangement: LinearArrangement§horizontal_alignment: HorizontalAlignmentImplementations§
Source§impl ColumnSpec
impl ColumnSpec
pub fn new() -> Self
pub fn vertical_arrangement(self, arrangement: LinearArrangement) -> Self
pub fn horizontal_alignment(self, alignment: HorizontalAlignment) -> Self
Trait Implementations§
Source§impl Clone for ColumnSpec
impl Clone for ColumnSpec
impl Copy for ColumnSpec
Source§impl Debug for ColumnSpec
impl Debug for ColumnSpec
Source§impl Default for ColumnSpec
impl Default for ColumnSpec
Source§impl PartialEq for ColumnSpec
impl PartialEq for ColumnSpec
impl StructuralPartialEq for ColumnSpec
Auto Trait Implementations§
impl Freeze for ColumnSpec
impl RefUnwindSafe for ColumnSpec
impl Send for ColumnSpec
impl Sync for ColumnSpec
impl Unpin for ColumnSpec
impl UnsafeUnpin for ColumnSpec
impl UnwindSafe for ColumnSpec
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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