pub struct FuncProtoParam<'btf> {
pub name: Option<&'btf OsStr>,
pub ty: TypeId,
}
Expand description
A parameter of a FuncProto.
Fields§
§name: Option<&'btf OsStr>
The parameter’s name
ty: TypeId
The parameter’s type
Trait Implementations§
Source§impl<'btf> Clone for FuncProtoParam<'btf>
impl<'btf> Clone for FuncProtoParam<'btf>
Source§fn clone(&self) -> FuncProtoParam<'btf>
fn clone(&self) -> FuncProtoParam<'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 FuncProtoParam<'btf>
impl<'btf> Debug for FuncProtoParam<'btf>
impl<'btf> Copy for FuncProtoParam<'btf>
Auto Trait Implementations§
impl<'btf> Freeze for FuncProtoParam<'btf>
impl<'btf> RefUnwindSafe for FuncProtoParam<'btf>
impl<'btf> Send for FuncProtoParam<'btf>
impl<'btf> Sync for FuncProtoParam<'btf>
impl<'btf> Unpin for FuncProtoParam<'btf>
impl<'btf> UnwindSafe for FuncProtoParam<'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
)