pub struct ComponentAliasBinding {
pub local: String,
pub target: ComponentReference,
}Expand description
An immutable root binding that aliases a component or import.
Fields§
§local: StringRoot script binding spelling used by template expressions.
target: ComponentReferenceCanonical semantic binding target, including its source anchor.
Trait Implementations§
Source§impl Clone for ComponentAliasBinding
impl Clone for ComponentAliasBinding
Source§impl Debug for ComponentAliasBinding
impl Debug for ComponentAliasBinding
impl<'__de> Decode<'__de> for ComponentAliasBindingwhere
'__de:,
impl Encode for ComponentAliasBinding
impl Eq for ComponentAliasBinding
Source§impl PartialEq for ComponentAliasBinding
impl PartialEq for ComponentAliasBinding
impl StructuralPartialEq for ComponentAliasBinding
Auto Trait Implementations§
impl Freeze for ComponentAliasBinding
impl RefUnwindSafe for ComponentAliasBinding
impl Send for ComponentAliasBinding
impl Sync for ComponentAliasBinding
impl Unpin for ComponentAliasBinding
impl UnsafeUnpin for ComponentAliasBinding
impl UnwindSafe for ComponentAliasBinding
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.