pub enum AttributeRef {
Local(AttributeKey),
Global {
namespace: Option<NameId>,
local_name: NameId,
resolved: Option<AttributeKey>,
},
}Expand description
Attribute reference
Variants§
Trait Implementations§
Source§impl Clone for AttributeRef
impl Clone for AttributeRef
Source§fn clone(&self) -> AttributeRef
fn clone(&self) -> AttributeRef
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 AttributeRef
impl RefUnwindSafe for AttributeRef
impl Send for AttributeRef
impl Sync for AttributeRef
impl Unpin for AttributeRef
impl UnsafeUnpin for AttributeRef
impl UnwindSafe for AttributeRef
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