pub struct Column { /* private fields */ }Expand description
分栏中列column
Implementations§
Source§impl Column
impl Column
pub fn new() -> Self
pub fn background_style(self, background_style: impl ToString) -> Self
pub fn width(self, width: impl ToString) -> Self
pub fn weight(self, weight: u32) -> Self
pub fn vertical_align(self, vertical_align: impl ToString) -> Self
pub fn vertical_spacing(self, vertical_spacing: impl ToString) -> Self
pub fn padding(self, padding: impl ToString) -> Self
pub fn elements(self, elements: Vec<CardElement>) -> Self
pub fn action(self, action: ColumnAction) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Column
impl<'de> Deserialize<'de> for Column
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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