Struct yew_bootstrap::component::AccordionProps
source · pub struct AccordionProps {
pub id: AttrValue,
pub flush: bool,
pub stay_open: bool,
pub children: ChildrenWithProps<AccordionItem>,
}Expand description
Fields§
§id: AttrValueHtml id of the accordion - should be unique within it’s page
flush: boolAccordion is flush with the container and removes some styling elements
stay_open: boolOpening an item won’t close other items in the accordion
children: ChildrenWithProps<AccordionItem>Trait Implementations§
source§impl Clone for AccordionProps
impl Clone for AccordionProps
source§fn clone(&self) -> AccordionProps
fn clone(&self) -> AccordionProps
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 for AccordionProps
impl PartialEq for AccordionProps
source§fn eq(&self, other: &AccordionProps) -> bool
fn eq(&self, other: &AccordionProps) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for AccordionProps
impl Properties for AccordionProps
impl StructuralPartialEq for AccordionProps
Auto Trait Implementations§
impl !RefUnwindSafe for AccordionProps
impl !Send for AccordionProps
impl !Sync for AccordionProps
impl Unpin for AccordionProps
impl !UnwindSafe for AccordionProps
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.