pub struct VisibleProperties {
pub visible: bool,
pub children: Html,
pub class: Classes,
pub style: Option<AttrValue>,
pub id: Option<AttrValue>,
pub element: IString,
}Expand description
Properties for Visible.
Fields§
§visible: boolThe visibility flag
children: HtmlThe content to show/hide
class: ClassesAdditional classes
style: Option<AttrValue>§id: Option<AttrValue>§element: IStringThe element to wrap the content with. Defaults to div.
Trait Implementations§
Source§impl PartialEq for VisibleProperties
impl PartialEq for VisibleProperties
Source§impl Properties for VisibleProperties
impl Properties for VisibleProperties
impl StructuralPartialEq for VisibleProperties
Auto Trait Implementations§
impl Freeze for VisibleProperties
impl !RefUnwindSafe for VisibleProperties
impl !Send for VisibleProperties
impl !Sync for VisibleProperties
impl Unpin for VisibleProperties
impl !UnwindSafe for VisibleProperties
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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>
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.