pub struct ResolvedAttributeUse {
pub resolved_type: Option<TypeKey>,
pub resolved_ref: Option<AttributeKey>,
}Expand description
Resolved attribute use - stores resolved keys for attribute use references
Fields§
§resolved_type: Option<TypeKey>Resolved type key (from type_ref or inline type)
resolved_ref: Option<AttributeKey>Resolved attribute reference (for attribute refs)
Trait Implementations§
Source§impl Clone for ResolvedAttributeUse
impl Clone for ResolvedAttributeUse
Source§fn clone(&self) -> ResolvedAttributeUse
fn clone(&self) -> ResolvedAttributeUse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedAttributeUse
impl RefUnwindSafe for ResolvedAttributeUse
impl Send for ResolvedAttributeUse
impl Sync for ResolvedAttributeUse
impl Unpin for ResolvedAttributeUse
impl UnsafeUnpin for ResolvedAttributeUse
impl UnwindSafe for ResolvedAttributeUse
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