Enum autosar_data::ElementContent
source · [−]pub enum ElementContent {
Element(Element),
CharacterData(CharacterData),
}Expand description
One content item inside an arxml element
Elements may contain other elements, character data, or a mixture of both, depending on their type.
Variants
Element(Element)
CharacterData(CharacterData)
Trait Implementations
sourceimpl Clone for ElementContent
impl Clone for ElementContent
sourcefn clone(&self) -> ElementContent
fn clone(&self) -> ElementContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ElementContent
impl Debug for ElementContent
sourceimpl PartialEq<ElementContent> for ElementContent
impl PartialEq<ElementContent> for ElementContent
sourcefn eq(&self, other: &ElementContent) -> bool
fn eq(&self, other: &ElementContent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for ElementContent
Auto Trait Implementations
impl !RefUnwindSafe for ElementContent
impl Send for ElementContent
impl Sync for ElementContent
impl Unpin for ElementContent
impl !UnwindSafe for ElementContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more