pub struct Flex { /* private fields */ }Implementations§
Source§impl Flex
impl Flex
pub fn new() -> Flex
pub fn direction(self, direction: FlexDirection) -> Flex
pub fn child(self, child: String) -> Flex
pub fn children(self, children: Vec<String>) -> Flex
pub fn gap(self, gap: String) -> Flex
pub fn padding(self, padding: String) -> Flex
pub fn background_color(self, color: String) -> Flex
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flex
impl RefUnwindSafe for Flex
impl Send for Flex
impl Sync for Flex
impl Unpin for Flex
impl UnwindSafe for Flex
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