pub struct Drawer {
pub children: Vec<String>,
pub position: DrawerPosition,
pub width: String,
pub open: bool,
pub class: String,
}Fields§
§children: Vec<String>§position: DrawerPosition§width: String§open: bool§class: StringImplementations§
Source§impl Drawer
impl Drawer
pub fn new() -> Drawer
pub fn child(self, child: String) -> Drawer
pub fn position(self, position: DrawerPosition) -> Drawer
pub fn width(self, width: String) -> Drawer
pub fn open(self, open: bool) -> Drawer
pub fn class(self, class: String) -> Drawer
pub fn render(&self) -> String
Trait Implementations§
impl StructuralPartialEq for Drawer
Auto Trait Implementations§
impl Freeze for Drawer
impl RefUnwindSafe for Drawer
impl Send for Drawer
impl Sync for Drawer
impl Unpin for Drawer
impl UnwindSafe for Drawer
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