pub struct SidebarPropsBuilder { /* private fields */ }Implementations§
Source§impl SidebarPropsBuilder
impl SidebarPropsBuilder
pub fn id(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn header(self, val: Option<Markup>) -> Self
pub fn default_open(self, val: bool) -> Self
pub fn breakpoint_px(self, val: f64) -> Self
pub fn class(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn attrs(self, val: AttrMap) -> Self
pub fn children(self, val: Children) -> Self
pub fn build(self) -> SidebarProps
Trait Implementations§
Source§impl From<SidebarPropsBuilder> for SidebarProps
impl From<SidebarPropsBuilder> for SidebarProps
Source§fn from(b: SidebarPropsBuilder) -> Self
fn from(b: SidebarPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SidebarPropsBuilder
impl RefUnwindSafe for SidebarPropsBuilder
impl Send for SidebarPropsBuilder
impl Sync for SidebarPropsBuilder
impl Unpin for SidebarPropsBuilder
impl UnsafeUnpin for SidebarPropsBuilder
impl UnwindSafe for SidebarPropsBuilder
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