pub struct ValueWithAttrDef {
pub name: String,
pub value_type: TypeRef,
pub attributes: Vec<AttrDef>,
}Expand description
A value type that also carries XML attributes.
Generated from xs:complexType with xs:simpleContent / xs:extension.
Fields§
§name: StringThe Rust struct name.
value_type: TypeRefThe base value type (the xs:extension base resolved to an IR ref).
attributes: Vec<AttrDef>XML attributes on this element.
Trait Implementations§
Source§impl Clone for ValueWithAttrDef
impl Clone for ValueWithAttrDef
Source§fn clone(&self) -> ValueWithAttrDef
fn clone(&self) -> ValueWithAttrDef
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 ValueWithAttrDef
impl Debug for ValueWithAttrDef
Source§impl PartialEq for ValueWithAttrDef
impl PartialEq for ValueWithAttrDef
impl StructuralPartialEq for ValueWithAttrDef
Auto Trait Implementations§
impl Freeze for ValueWithAttrDef
impl RefUnwindSafe for ValueWithAttrDef
impl Send for ValueWithAttrDef
impl Sync for ValueWithAttrDef
impl Unpin for ValueWithAttrDef
impl UnsafeUnpin for ValueWithAttrDef
impl UnwindSafe for ValueWithAttrDef
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