pub enum AttributeStyle {
Ident(Range, Ident),
String(Range, String),
Number(Range, u64),
List(Range, Vec<AttributeStyle>),
}
Expand description
A value of a attribute
Variants§
Trait Implementations§
Source§impl Clone for AttributeStyle
impl Clone for AttributeStyle
Source§fn clone(&self) -> AttributeStyle
fn clone(&self) -> AttributeStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeStyle
impl Debug for AttributeStyle
Source§impl Display for AttributeStyle
impl Display for AttributeStyle
Auto Trait Implementations§
impl Freeze for AttributeStyle
impl RefUnwindSafe for AttributeStyle
impl Send for AttributeStyle
impl Sync for AttributeStyle
impl Unpin for AttributeStyle
impl UnwindSafe for AttributeStyle
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