pub struct AttributeStatement {
pub target: AttributeTarget,
pub attributes: Vec<Attribute>,
pub span: Range<usize>,
}Expand description
属性语句
Fields§
§target: AttributeTarget§attributes: Vec<Attribute>§span: Range<usize>Trait Implementations§
Source§impl Clone for AttributeStatement
impl Clone for AttributeStatement
Source§fn clone(&self) -> AttributeStatement
fn clone(&self) -> AttributeStatement
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 AttributeStatement
impl Debug for AttributeStatement
Source§impl<'de> Deserialize<'de> for AttributeStatement
impl<'de> Deserialize<'de> for AttributeStatement
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 AttributeStatement
impl PartialEq for AttributeStatement
Source§impl Serialize for AttributeStatement
impl Serialize for AttributeStatement
impl StructuralPartialEq for AttributeStatement
Auto Trait Implementations§
impl Freeze for AttributeStatement
impl RefUnwindSafe for AttributeStatement
impl Send for AttributeStatement
impl Sync for AttributeStatement
impl Unpin for AttributeStatement
impl UnwindSafe for AttributeStatement
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