pub struct StructMember<'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
The attributes of this member.
Trait Implementations§
Source§impl<'btf> Clone for StructMember<'btf>
impl<'btf> Clone for StructMember<'btf>
Source§fn clone(&self) -> StructMember<'btf>
fn clone(&self) -> StructMember<'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 StructMember<'btf>
impl<'btf> Debug for StructMember<'btf>
impl<'btf> Copy for StructMember<'btf>
Auto Trait Implementations§
impl<'btf> Freeze for StructMember<'btf>
impl<'btf> RefUnwindSafe for StructMember<'btf>
impl<'btf> Send for StructMember<'btf>
impl<'btf> Sync for StructMember<'btf>
impl<'btf> Unpin for StructMember<'btf>
impl<'btf> UnwindSafe for StructMember<'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
)