pub struct SidebarInputPropsBuilder { /* private fields */ }Expand description
Typestate builder for SidebarInputProps, created by SidebarInputProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl SidebarInputPropsBuilder
impl SidebarInputPropsBuilder
Sourcepub fn attrs(self, attrs: Attributes) -> Self
pub fn attrs(self, attrs: Attributes) -> Self
Sets the attrs property.
Sourcepub fn build(self) -> SidebarInputProps
pub fn build(self) -> SidebarInputProps
Builds the props struct from the set properties.
Only available once every required property has been set.
#[default] properties that were not set are filled with
Default::default(), or the #[default(expr)] expression.
Auto Trait Implementations§
impl Freeze for SidebarInputPropsBuilder
impl RefUnwindSafe for SidebarInputPropsBuilder
impl Send for SidebarInputPropsBuilder
impl Sync for SidebarInputPropsBuilder
impl Unpin for SidebarInputPropsBuilder
impl UnsafeUnpin for SidebarInputPropsBuilder
impl UnwindSafe for SidebarInputPropsBuilder
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