pub struct PageBlockDetails {
pub header: RichText,
pub page_blocks: Vec<PageBlock>,
pub is_open: bool,
}
Expand description
A collapsible block
Fields§
§header: RichText
Always visible heading for the block
page_blocks: Vec<PageBlock>
Block contents
is_open: bool
True, if the block is open by default
Trait Implementations§
Source§impl Clone for PageBlockDetails
impl Clone for PageBlockDetails
Source§fn clone(&self) -> PageBlockDetails
fn clone(&self) -> PageBlockDetails
Returns a duplicate 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 PageBlockDetails
impl Debug for PageBlockDetails
Source§impl<'de> Deserialize<'de> for PageBlockDetails
impl<'de> Deserialize<'de> for PageBlockDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PageBlockDetails
impl PartialEq for PageBlockDetails
Source§impl Serialize for PageBlockDetails
impl Serialize for PageBlockDetails
impl StructuralPartialEq for PageBlockDetails
Auto Trait Implementations§
impl Freeze for PageBlockDetails
impl RefUnwindSafe for PageBlockDetails
impl Send for PageBlockDetails
impl Sync for PageBlockDetails
impl Unpin for PageBlockDetails
impl UnwindSafe for PageBlockDetails
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