pub struct Shell { /* private fields */ }Implementations§
Source§impl Shell
impl Shell
pub fn new() -> Self
pub fn child(&mut self, value: Option<Dom>) -> &mut Self
pub fn title(&mut self, value: &'static str) -> &mut Self
pub fn styles(&mut self, value: Vec<(String, Reactive<String>)>) -> &mut Self
pub fn open(&mut self, value: Mutable<SidebarState>) -> &mut Self
Trait Implementations§
Source§impl Component for Shell
impl Component for Shell
fn style(&mut self, style: (String, Reactive<String>)) -> &mut Self
fn dom(&mut self) -> Dom
fn mt(&mut self, s: RemSizing) -> &mut Self
fn mb(&mut self, s: RemSizing) -> &mut Self
fn ml(&mut self, s: RemSizing) -> &mut Self
fn mr(&mut self, s: RemSizing) -> &mut Self
Auto Trait Implementations§
impl Freeze for Shell
impl !RefUnwindSafe for Shell
impl !Send for Shell
impl !Sync for Shell
impl Unpin for Shell
impl !UnwindSafe for Shell
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