pub enum ComponentReference {
Local {
name: String,
span_start: u32,
},
Import {
local: String,
span_start: u32,
},
NamespaceMember {
local: String,
span_start: u32,
member: String,
},
Selector(String),
Unknown,
}Expand description
Stable component binding identity, independent of transient parser symbols.
Variants§
Local
A same-module declaration, including resolved immutable local aliases.
Import
An import binding. Analysis resolves its effective export via the graph.
Fields
NamespaceMember
A direct member of a proven namespace import.
Fields
Selector(String)
A statically registered Angular selector or custom-element tag.
Unknown
Dynamic or unsupported component identity.
Trait Implementations§
Source§impl Clone for ComponentReference
impl Clone for ComponentReference
Source§impl Debug for ComponentReference
impl Debug for ComponentReference
impl<'__de> Decode<'__de> for ComponentReferencewhere
'__de:,
impl Encode for ComponentReference
impl Eq for ComponentReference
Source§impl Hash for ComponentReference
impl Hash for ComponentReference
Source§impl PartialEq for ComponentReference
impl PartialEq for ComponentReference
impl StructuralPartialEq for ComponentReference
Auto Trait Implementations§
impl Freeze for ComponentReference
impl RefUnwindSafe for ComponentReference
impl Send for ComponentReference
impl Sync for ComponentReference
impl Unpin for ComponentReference
impl UnsafeUnpin for ComponentReference
impl UnwindSafe for ComponentReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.