Struct patternfly_yew::components::visible::VisibleProperties
source · 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§fn eq(&self, other: &VisibleProperties) -> bool
fn eq(&self, other: &VisibleProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for VisibleProperties
impl Properties for VisibleProperties
impl StructuralPartialEq for VisibleProperties
Auto Trait Implementations§
impl !RefUnwindSafe for VisibleProperties
impl !Send for VisibleProperties
impl !Sync for VisibleProperties
impl Unpin for VisibleProperties
impl !UnwindSafe for VisibleProperties
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.