pub struct EffectiveComponent {
pub key: ComponentKey,
pub origin: ComponentOrigin,
pub action: CompositionAction,
}Expand description
An effective top-level component with its provenance metadata.
After composition, every visible component in the namespace tables
has an associated EffectiveComponent that records which document
contributed it and how it arrived (declared, included, redefined, etc.).
Fields§
§key: ComponentKeyThe arena key of the component.
origin: ComponentOriginWhere this component originated.
action: CompositionActionHow this component entered the effective schema.
Trait Implementations§
Source§impl Clone for EffectiveComponent
impl Clone for EffectiveComponent
Source§fn clone(&self) -> EffectiveComponent
fn clone(&self) -> EffectiveComponent
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 EffectiveComponent
impl RefUnwindSafe for EffectiveComponent
impl Send for EffectiveComponent
impl Sync for EffectiveComponent
impl Unpin for EffectiveComponent
impl UnsafeUnpin for EffectiveComponent
impl UnwindSafe for EffectiveComponent
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