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