[−][src]Struct rustc_builtin_macros::global_allocator::AllocFnFactory
Fields
span: Spankind: AllocatorKindglobal: Identcx: &'b ExtCtxt<'a>Implementations
impl<'_, '_> AllocFnFactory<'_, '_>[src]
pub(in global_allocator) fn allocator_fn(
&self,
method: &AllocatorMethod
) -> Stmt[src]
&self,
method: &AllocatorMethod
) -> Stmt
pub(in global_allocator) fn call_allocator(
&self,
method: Symbol,
args: Vec<P<Expr>>
) -> P<Expr>[src]
&self,
method: Symbol,
args: Vec<P<Expr>>
) -> P<Expr>
pub(in global_allocator) fn attrs(
&self
) -> Vec<Attribute>[src]
&self
) -> Vec<Attribute>
pub(in global_allocator) fn arg_ty(
&self,
ty: &AllocatorTy,
args: &mut Vec<Param>,
ident: &mut dyn FnMut() -> Ident
) -> P<Expr>[src]
&self,
ty: &AllocatorTy,
args: &mut Vec<Param>,
ident: &mut dyn FnMut() -> Ident
) -> P<Expr>
pub(in global_allocator) fn ret_ty(
&self,
ty: &AllocatorTy,
expr: P<Expr>
) -> (P<Ty>, P<Expr>)[src]
&self,
ty: &AllocatorTy,
expr: P<Expr>
) -> (P<Ty>, P<Expr>)
pub(in global_allocator) fn usize(
&self
) -> P<Ty>[src]
&self
) -> P<Ty>
pub(in global_allocator) fn ptr_u8(
&self
) -> P<Ty>[src]
&self
) -> P<Ty>
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for AllocFnFactory<'a, 'b>
impl<'a, 'b> !Send for AllocFnFactory<'a, 'b>
impl<'a, 'b> !Sync for AllocFnFactory<'a, 'b>
impl<'a, 'b> Unpin for AllocFnFactory<'a, 'b> where
'a: 'b,
'a: 'b,
impl<'a, 'b> !UnwindSafe for AllocFnFactory<'a, 'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,