pub struct ComponentOrigin {
pub owner_doc: Option<DocumentId>,
pub identity: ComponentIdentity,
}Expand description
Tracks which document a component originated from.
owner_doc is None when the originating document is unknown (e.g.,
pre-loaded schemas without directive resolution).
Fields§
§owner_doc: Option<DocumentId>§identity: ComponentIdentityTrait Implementations§
Source§impl Clone for ComponentOrigin
impl Clone for ComponentOrigin
Source§fn clone(&self) -> ComponentOrigin
fn clone(&self) -> ComponentOrigin
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 moreimpl Copy for ComponentOrigin
Auto Trait Implementations§
impl Freeze for ComponentOrigin
impl RefUnwindSafe for ComponentOrigin
impl Send for ComponentOrigin
impl Sync for ComponentOrigin
impl Unpin for ComponentOrigin
impl UnsafeUnpin for ComponentOrigin
impl UnwindSafe for ComponentOrigin
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