Struct patternfly_yew::components::page::PageProperties
source · pub struct PageProperties {
pub children: Html,
pub sidebar: ChildrenWithProps<PageSidebar>,
pub tools: Html,
pub brand: Html,
pub nav: Html,
pub open: bool,
pub full_height: bool,
pub id: Option<AttrValue>,
}
Expand description
Properties for Page
Fields§
§children: Html
§tools: Html
§brand: Html
The brand section.
Expected to be a single MastheadBrand
component.
NOTE: Future versions might enforce the child requirement without prior deprecation.
open: bool
§full_height: bool
§id: Option<AttrValue>
Trait Implementations§
source§impl Clone for PageProperties
impl Clone for PageProperties
source§fn clone(&self) -> PageProperties
fn clone(&self) -> PageProperties
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 PageProperties
impl PartialEq for PageProperties
source§fn eq(&self, other: &PageProperties) -> bool
fn eq(&self, other: &PageProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for PageProperties
impl Properties for PageProperties
impl StructuralPartialEq for PageProperties
Auto Trait Implementations§
impl Freeze for PageProperties
impl !RefUnwindSafe for PageProperties
impl !Send for PageProperties
impl !Sync for PageProperties
impl Unpin for PageProperties
impl !UnwindSafe for PageProperties
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
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.