pub enum EnumValueSrc {
Literal(i64),
FromNode(String),
}Expand description
Source of the numeric value backing an enumeration entry.
Variants§
Literal(i64)
Numeric literal declared directly in the XML.
FromNode(String)
Value obtained from another node referenced via <pValue>.
Trait Implementations§
Source§impl Clone for EnumValueSrc
impl Clone for EnumValueSrc
Source§fn clone(&self) -> EnumValueSrc
fn clone(&self) -> EnumValueSrc
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 EnumValueSrc
impl Debug for EnumValueSrc
Source§impl PartialEq for EnumValueSrc
impl PartialEq for EnumValueSrc
impl Eq for EnumValueSrc
impl StructuralPartialEq for EnumValueSrc
Auto Trait Implementations§
impl Freeze for EnumValueSrc
impl RefUnwindSafe for EnumValueSrc
impl Send for EnumValueSrc
impl Sync for EnumValueSrc
impl Unpin for EnumValueSrc
impl UnwindSafe for EnumValueSrc
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