pub struct OpaqueMemberDecl {
pub keyword: String,
pub name: String,
pub text: String,
pub body: AttributeBody,
}Expand description
Library-tolerant part member preserved without forcing it into an unrelated node shape.
Fields§
§keyword: String§name: String§text: String§body: AttributeBodyTrait Implementations§
Source§impl Clone for OpaqueMemberDecl
impl Clone for OpaqueMemberDecl
Source§fn clone(&self) -> OpaqueMemberDecl
fn clone(&self) -> OpaqueMemberDecl
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 moreSource§impl Debug for OpaqueMemberDecl
impl Debug for OpaqueMemberDecl
impl Eq for OpaqueMemberDecl
Source§impl PartialEq for OpaqueMemberDecl
impl PartialEq for OpaqueMemberDecl
Source§fn eq(&self, other: &OpaqueMemberDecl) -> bool
fn eq(&self, other: &OpaqueMemberDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpaqueMemberDecl
Auto Trait Implementations§
impl Freeze for OpaqueMemberDecl
impl RefUnwindSafe for OpaqueMemberDecl
impl Send for OpaqueMemberDecl
impl Sync for OpaqueMemberDecl
impl Unpin for OpaqueMemberDecl
impl UnsafeUnpin for OpaqueMemberDecl
impl UnwindSafe for OpaqueMemberDecl
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