pub enum AttrPart {
Lit(String),
Ref(String),
}Expand description
A piece of an attribute value or text template: a literal, or a reference to one of the node’s stored attributes.
Variants§
Auto Trait Implementations§
impl Freeze for AttrPart
impl RefUnwindSafe for AttrPart
impl Send for AttrPart
impl Sync for AttrPart
impl Unpin for AttrPart
impl UnsafeUnpin for AttrPart
impl UnwindSafe for AttrPart
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