pub struct Description { /* private fields */ }
Expand description
A desc
element.
Implementations§
Source§impl Description
impl Description
Methods from Deref<Target = Element>§
Sourcepub fn get_attributes(&self) -> &Attributes
pub fn get_attributes(&self) -> &Attributes
Return the attributes.
Sourcepub fn get_attributes_mut(&mut self) -> &mut Attributes
pub fn get_attributes_mut(&mut self) -> &mut Attributes
Return the attributes as mutable.
Sourcepub fn get_children(&self) -> &Children
pub fn get_children(&self) -> &Children
Return the children.
Sourcepub fn get_children_mut(&mut self) -> &mut Children
pub fn get_children_mut(&mut self) -> &mut Children
Return the children as mutable.
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§fn clone(&self) -> Description
fn clone(&self) -> Description
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 Description
impl Debug for Description
Source§impl Default for Description
impl Default for Description
Source§impl Deref for Description
impl Deref for Description
Source§impl DerefMut for Description
impl DerefMut for Description
Source§impl Display for Description
impl Display for Description
Source§impl From<Description> for Element
impl From<Description> for Element
Source§fn from(value: Description) -> Self
fn from(value: Description) -> Self
Converts to this type from the input type.
Source§impl Node for Description
impl Node for Description
Source§fn get_attributes(&self) -> Option<&Attributes>
fn get_attributes(&self) -> Option<&Attributes>
Return the attributes.
Source§fn get_attributes_mut(&mut self) -> Option<&mut Attributes>
fn get_attributes_mut(&mut self) -> Option<&mut Attributes>
Return the attributes as mutable.
Source§fn get_children(&self) -> Option<&Children>
fn get_children(&self) -> Option<&Children>
Return the children.
Source§fn get_children_mut(&mut self) -> Option<&mut Children>
fn get_children_mut(&mut self) -> Option<&mut Children>
Return the children as mutable.
Auto Trait Implementations§
impl Freeze for Description
impl !RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl !UnwindSafe for Description
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