pub struct Sheet { /* private fields */ }Expand description
Sheet component
A panel that slides out from the edge of the screen, styled like shadcn/ui Sheet component.
Implementations§
Source§impl Sheet
impl Sheet
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the description (SheetDescription equivalent)
Show or hide the close button (default: true)
Sourcepub const fn show_backdrop(self, show: bool) -> Self
pub const fn show_backdrop(self, show: bool) -> Self
Show or hide the backdrop overlay (default: true)
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnsafeUnpin for Sheet
impl UnwindSafe for Sheet
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