pub struct CustomAttribute {
pub parent: HasCustomAttribute,
pub ty: CustomAttributeType,
pub value: BlobIndex,
}Fields§
§parent: HasCustomAttribute§ty: CustomAttributeType§value: BlobIndexImplementations§
Trait Implementations§
Source§impl Clone for CustomAttribute
impl Clone for CustomAttribute
Source§fn clone(&self) -> CustomAttribute
fn clone(&self) -> CustomAttribute
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 moreimpl Copy for CustomAttribute
Auto Trait Implementations§
impl Freeze for CustomAttribute
impl RefUnwindSafe for CustomAttribute
impl Send for CustomAttribute
impl Sync for CustomAttribute
impl Unpin for CustomAttribute
impl UnsafeUnpin for CustomAttribute
impl UnwindSafe for CustomAttribute
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