pub struct AttributeDeclData {Show 15 fields
pub name: Option<NameId>,
pub target_namespace: Option<NameId>,
pub ref_name: Option<QNameRef>,
pub type_ref: Option<TypeRefResult>,
pub inline_type: Option<Box<SimpleTypeResult>>,
pub default_value: Option<String>,
pub fixed_value: Option<String>,
pub use_kind: Option<String>,
pub form: Option<String>,
pub inheritable: bool,
pub id: Option<String>,
pub annotation: Option<Annotation>,
pub source: Option<SourceRef>,
pub resolved_type: Option<TypeKey>,
pub resolved_ref: Option<AttributeKey>,
}Expand description
Placeholder for AttributeDecl (defined in schema/decl.rs)
Fields§
§name: Option<NameId>§target_namespace: Option<NameId>§ref_name: Option<QNameRef>§type_ref: Option<TypeRefResult>§inline_type: Option<Box<SimpleTypeResult>>§default_value: Option<String>§fixed_value: Option<String>§use_kind: Option<String>§form: Option<String>§inheritable: bool§id: Option<String>§annotation: Option<Annotation>§source: Option<SourceRef>§resolved_type: Option<TypeKey>Resolved type key (from type_ref or inline_type)
resolved_ref: Option<AttributeKey>Resolved attribute reference (for attribute refs)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttributeDeclData
impl RefUnwindSafe for AttributeDeclData
impl Send for AttributeDeclData
impl Sync for AttributeDeclData
impl Unpin for AttributeDeclData
impl UnsafeUnpin for AttributeDeclData
impl UnwindSafe for AttributeDeclData
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