pub struct R2GFnRepr { /* private fields */ }
Implementations§
Source§impl R2GFnRepr
impl R2GFnRepr
pub const fn name(&self) -> &Ident
pub const fn is_async(&self) -> bool
pub const fn drop_safe_ret_params(&self) -> bool
pub const fn is_safe(&self) -> bool
pub fn params(&self) -> &[Param]
pub fn ret(&self) -> Option<&ParamType>
pub const fn ret_send(&self) -> bool
pub const fn ret_static(&self) -> bool
pub const fn mem_call_id(&self) -> Option<usize>
pub const fn cgo_callback(&self) -> bool
Auto Trait Implementations§
impl Freeze for R2GFnRepr
impl RefUnwindSafe for R2GFnRepr
impl !Send for R2GFnRepr
impl !Sync for R2GFnRepr
impl Unpin for R2GFnRepr
impl UnwindSafe for R2GFnRepr
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