pub struct CompositeMember<'btf> {
pub name: Option<&'btf OsStr>,
pub ty: TypeId,
pub attr: MemberAttr,
}
Expand description
A member of a Struct
Fields§
§name: Option<&'btf OsStr>
The member’s name
ty: TypeId
The member’s type
attr: MemberAttr
If this member is a bifield, these are it’s attributes.
Trait Implementations§
Source§impl<'btf> Clone for CompositeMember<'btf>
impl<'btf> Clone for CompositeMember<'btf>
Source§fn clone(&self) -> CompositeMember<'btf>
fn clone(&self) -> CompositeMember<'btf>
Returns a copy 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<'btf> Debug for CompositeMember<'btf>
impl<'btf> Debug for CompositeMember<'btf>
impl<'btf> Copy for CompositeMember<'btf>
Auto Trait Implementations§
impl<'btf> Freeze for CompositeMember<'btf>
impl<'btf> RefUnwindSafe for CompositeMember<'btf>
impl<'btf> Send for CompositeMember<'btf>
impl<'btf> Sync for CompositeMember<'btf>
impl<'btf> Unpin for CompositeMember<'btf>
impl<'btf> UnwindSafe for CompositeMember<'btf>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)