pub enum DecorationElement {
Header(Box<Header>),
Footer(Box<Footer>),
}
Variants§
Trait Implementations§
Source§impl Clone for DecorationElement
impl Clone for DecorationElement
Source§fn clone(&self) -> DecorationElement
fn clone(&self) -> DecorationElement
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 DecorationElement
impl Debug for DecorationElement
Source§impl From<Header> for DecorationElement
impl From<Header> for DecorationElement
Source§impl HasChildren<DecorationElement> for Decoration
impl HasChildren<DecorationElement> for Decoration
fn with_children(children: Vec<DecorationElement>) -> Decoration
fn children(&self) -> &Vec<DecorationElement>
fn children_mut(&mut self) -> &mut Vec<DecorationElement>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl PartialEq for DecorationElement
impl PartialEq for DecorationElement
Source§impl Serialize for DecorationElement
impl Serialize for DecorationElement
impl StructuralPartialEq for DecorationElement
Auto Trait Implementations§
impl Freeze for DecorationElement
impl RefUnwindSafe for DecorationElement
impl Send for DecorationElement
impl Sync for DecorationElement
impl Unpin for DecorationElement
impl UnwindSafe for DecorationElement
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