Struct rust2go_common::raw_file::FnRepr
source · pub struct FnRepr { /* private fields */ }
Implementations§
source§impl FnRepr
impl FnRepr
pub fn name(&self) -> &Ident
pub fn is_async(&self) -> bool
pub fn drop_safe_ret_params(&self) -> bool
pub fn safe(&self) -> bool
pub fn params(&self) -> &[Param]
pub fn ret(&self) -> Option<&ParamType>
pub fn ret_send(&self) -> bool
pub fn ret_static(&self) -> bool
pub fn mem_call_id(&self) -> Option<usize>
Auto Trait Implementations§
impl Freeze for FnRepr
impl RefUnwindSafe for FnRepr
impl !Send for FnRepr
impl !Sync for FnRepr
impl Unpin for FnRepr
impl UnwindSafe for FnRepr
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