pub struct SheetContentProps<'__a> {
pub side: SheetSide,
pub attrs: Attributes,
pub child: Child<'__a>,
}Expand description
The content panel inside a sheet.
side chooses its edge and defaults to Right. attrs are forwarded to the
<div>, with extra classes added to its classes. Use them to adjust the panel’s
dimensions.
Fields§
§side: SheetSideThe edge the panel lies against.
attrs: AttributesExtra attributes for the <div> element.
child: Child<'__a>The panel’s sections.
Implementations§
Source§impl<'__a> SheetContentProps<'__a>
impl<'__a> SheetContentProps<'__a>
Sourcepub fn builder() -> SheetContentPropsBuilder<'__a>
pub fn builder() -> SheetContentPropsBuilder<'__a>
Returns a SheetContentPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for SheetContentProps<'__a>
impl<'__a> !Sync for SheetContentProps<'__a>
impl<'__a> !UnwindSafe for SheetContentProps<'__a>
impl<'__a> Freeze for SheetContentProps<'__a>
impl<'__a> Send for SheetContentProps<'__a>
impl<'__a> Unpin for SheetContentProps<'__a>
impl<'__a> UnsafeUnpin for SheetContentProps<'__a>
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