pub struct DrawerProps {
pub open: bool,
pub has_header: Option<bool>,
pub drawer_type: String,
pub onopened: Callback<()>,
pub onclosed: Callback<()>,
pub link: WeakComponentLink<Drawer>,
pub children: Children,
}
Expand description
Fields§
§open: bool
§has_header: Option<bool>
§drawer_type: String
§onopened: Callback<()>
Binds to opened
event on drawer
See events docs to learn more.
onclosed: Callback<()>
Binds to closed
event on drawer
See events docs to learn more.
link: WeakComponentLink<Drawer>
§children: Children
Trait Implementations§
Source§impl Clone for DrawerProps
impl Clone for DrawerProps
Source§fn clone(&self) -> DrawerProps
fn clone(&self) -> DrawerProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for DrawerProps
impl PartialEq for DrawerProps
Source§impl Properties for DrawerProps
impl Properties for DrawerProps
impl StructuralPartialEq for DrawerProps
Auto Trait Implementations§
impl Freeze for DrawerProps
impl !RefUnwindSafe for DrawerProps
impl !Send for DrawerProps
impl !Sync for DrawerProps
impl Unpin for DrawerProps
impl !UnwindSafe for DrawerProps
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