Struct material_yew::drawer::DrawerProps
source · pub struct DrawerProps {
pub open: bool,
pub has_header: bool,
pub drawer_type: Option<AttrValue>,
pub onopened: Callback<()>,
pub onclosed: Callback<()>,
pub drawer_link: WeakComponentLink<MatDrawer>,
pub children: Children,
}
Expand description
Fields§
§open: bool
§has_header: bool
§drawer_type: Option<AttrValue>
§onopened: Callback<()>
Binds to opened
event on mwc-drawer
See events docs to learn more.
onclosed: Callback<()>
Binds to closed
event on mwc-drawer
See events docs to learn more.
drawer_link: WeakComponentLink<MatDrawer>
§children: Children
Trait Implementations§
source§impl Clone for DrawerProps
impl Clone for DrawerProps
source§fn clone(&self) -> DrawerProps
fn clone(&self) -> DrawerProps
Returns a copy 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<DrawerProps> for DrawerProps
impl PartialEq<DrawerProps> for DrawerProps
source§fn eq(&self, other: &DrawerProps) -> bool
fn eq(&self, other: &DrawerProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for DrawerProps
impl Properties for DrawerProps
impl StructuralPartialEq for DrawerProps
Auto Trait Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.