pub struct DrawerBuilder {
pub open: Option<Signal<bool>>,
pub side: Option<&'static str>,
pub title: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub class: Option<&'static str>,
pub __strata_key: Option<String>,
}Fields§
§open: Option<Signal<bool>>§side: Option<&'static str>§title: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§class: Option<&'static str>§__strata_key: Option<String>Implementations§
Source§impl DrawerBuilder
impl DrawerBuilder
pub fn open(self, val: impl Into<Signal<bool>>) -> Self
pub fn side(self, val: impl Into<Option<&'static str>>) -> Self
pub fn title(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children( self, val: impl IntoChildren<Option<Vec<NodeBlueprint>>>, ) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DrawerBuilder
impl !Send for DrawerBuilder
impl !Sync for DrawerBuilder
impl !UnwindSafe for DrawerBuilder
impl Forget for DrawerBuilder
impl Freeze for DrawerBuilder
impl Move for DrawerBuilder
impl Unpin for DrawerBuilder
impl UnsafeUnpin for DrawerBuilder
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