Struct yewprint::PanelStackState
source · pub struct PanelStackState { /* private fields */ }
Implementations§
source§impl PanelStackState
impl PanelStackState
pub fn new( content: Html ) -> PanelBuilder<fn(_: Option<Html>, _: Html) -> Self, Html, Self>
pub fn close_panel(&mut self) -> bool
pub fn open_panel( &mut self, content: Html ) -> PanelBuilder<fn(_: Option<Html>, _: (Html, Rc<RefCell<Vec<(Option<Html>, Html)>>>)) -> bool, (Html, Rc<RefCell<Vec<(Option<Html>, Html)>>>), bool>
Trait Implementations§
source§impl Clone for PanelStackState
impl Clone for PanelStackState
source§fn clone(&self) -> PanelStackState
fn clone(&self) -> PanelStackState
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 Debug for PanelStackState
impl Debug for PanelStackState
source§impl ImplicitClone for PanelStackState
impl ImplicitClone for PanelStackState
source§fn implicit_clone(&self) -> Self
fn implicit_clone(&self) -> Self
This function is not magic; it is literally defined as Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PanelStackState
impl !Send for PanelStackState
impl !Sync for PanelStackState
impl Unpin for PanelStackState
impl !UnwindSafe for PanelStackState
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.