pub struct BareFnTy {
pub safety: Safety,
pub abi: Option<Ident>,
pub inputs: Vec<Ty>,
pub output: FnRetTy,
pub node_id: NodeId,
pub span: Span,
}Fields§
§safety: SafetyWhether the fn pointer is unsafe
abi: Option<Ident>The abi of an extern "abi" fn pointer (extern fn is extern "C" fn), or None for the
default (rust) abi.
inputs: Vec<Ty>example &T[@n]. @ binders in the inputs are bound by the fn pointer type itself
output: FnRetTy§node_id: NodeId§span: SpanTrait Implementations§
Auto Trait Implementations§
impl DynSend for BareFnTy
impl DynSync for BareFnTy
impl Freeze for BareFnTy
impl RefUnwindSafe for BareFnTy
impl Send for BareFnTy
impl Sync for BareFnTy
impl Unpin for BareFnTy
impl UnsafeUnpin for BareFnTy
impl UnwindSafe for BareFnTy
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