pub enum CompositionAction {
Declared,
Included {
from_doc: DocumentId,
},
Redefined {
from_doc: Option<DocumentId>,
replaced: ComponentOrigin,
},
Overridden {
from_doc: Option<DocumentId>,
replaced: ComponentOrigin,
},
}Expand description
How a component arrived in the effective schema set.
Variants§
Declared
Declared directly in its owning document.
Included
Included from another document (same namespace merge).
Fields
§
from_doc: DocumentIdRedefined
Replaced via xs:redefine. from_doc is None when the redefining
document is unknown (directive without source location).
Overridden
Replaced via xs:override (XSD 1.1). from_doc is None when the
overriding document is unknown.
Trait Implementations§
Source§impl Clone for CompositionAction
impl Clone for CompositionAction
Source§fn clone(&self) -> CompositionAction
fn clone(&self) -> CompositionAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompositionAction
impl RefUnwindSafe for CompositionAction
impl Send for CompositionAction
impl Sync for CompositionAction
impl Unpin for CompositionAction
impl UnsafeUnpin for CompositionAction
impl UnwindSafe for CompositionAction
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