pub struct AstDirectiveAddr {
pub header_span: Span,
pub expr: Expr,
pub item_ref: Option<ItemRef<AddrDirective>>,
}
Fields§
§header_span: Span
§expr: Expr
§item_ref: Option<ItemRef<AddrDirective>>
Trait Implementations§
Source§impl Clone for AstDirectiveAddr
impl Clone for AstDirectiveAddr
Source§fn clone(&self) -> AstDirectiveAddr
fn clone(&self) -> AstDirectiveAddr
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 moreAuto Trait Implementations§
impl Freeze for AstDirectiveAddr
impl RefUnwindSafe for AstDirectiveAddr
impl !Send for AstDirectiveAddr
impl !Sync for AstDirectiveAddr
impl Unpin for AstDirectiveAddr
impl UnwindSafe for AstDirectiveAddr
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