pub struct AttributeArg {
pub name: Option<Ident>,
pub value: AttributeValue,
pub span: Span,
}Fields§
§name: Option<Ident>§value: AttributeValue§span: SpanTrait Implementations§
Source§impl Clone for AttributeArg
impl Clone for AttributeArg
Source§fn clone(&self) -> AttributeArg
fn clone(&self) -> AttributeArg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeArg
impl Debug for AttributeArg
Source§impl<'de> Deserialize<'de> for AttributeArg
impl<'de> Deserialize<'de> for AttributeArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttributeArg
impl PartialEq for AttributeArg
Source§impl Serialize for AttributeArg
impl Serialize for AttributeArg
impl StructuralPartialEq for AttributeArg
Auto Trait Implementations§
impl Freeze for AttributeArg
impl RefUnwindSafe for AttributeArg
impl Send for AttributeArg
impl Sync for AttributeArg
impl Unpin for AttributeArg
impl UnwindSafe for AttributeArg
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