Struct yewprint::DialogProps
source · pub struct DialogProps {
pub dark: Option<bool>,
pub class: Classes,
pub style: Option<AttrValue>,
pub open: bool,
pub onclose: Callback<()>,
pub show_close_button: bool,
pub icon: Option<Icon>,
pub title: Option<Html>,
pub container_ref: NodeRef,
pub aria_labelledby: Option<AttrValue>,
pub aria_describedby: Option<AttrValue>,
pub children: Children,
}
Fields§
§dark: Option<bool>
§class: Classes
§style: Option<AttrValue>
§open: bool
§onclose: Callback<()>
§icon: Option<Icon>
§title: Option<Html>
§container_ref: NodeRef
§aria_labelledby: Option<AttrValue>
§aria_describedby: Option<AttrValue>
§children: Children
Trait Implementations§
source§impl Debug for DialogProps
impl Debug for DialogProps
source§impl PartialEq for DialogProps
impl PartialEq for DialogProps
source§fn eq(&self, other: &DialogProps) -> bool
fn eq(&self, other: &DialogProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for DialogProps
impl Properties for DialogProps
impl StructuralPartialEq for DialogProps
Auto Trait Implementations§
impl !RefUnwindSafe for DialogProps
impl !Send for DialogProps
impl !Sync for DialogProps
impl Unpin for DialogProps
impl !UnwindSafe for DialogProps
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.