pub(crate) struct FreeFunctions {
handle: NonZero<u32>,
_marker: PhantomData<*mut ()>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§handle: NonZero<u32>
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)_marker: PhantomData<*mut ()>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Implementations§
Source§impl FreeFunctions
impl FreeFunctions
pub(crate) fn drop(self: FreeFunctions)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn injected_env_var(var: &str) -> Option<String>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn track_env_var(var: &str, value: Option<&str>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn track_path(path: &str)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn literal_from_str(s: &str) -> Result<Literal<Span, Symbol>, ()>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn emit_diagnostic(diagnostic: Diagnostic<Span>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
Source§impl<S> DecodeMut<'_, '_, S> for FreeFunctions
impl<S> DecodeMut<'_, '_, S> for FreeFunctions
Source§impl Drop for FreeFunctions
impl Drop for FreeFunctions
Source§impl<S> Encode<S> for &FreeFunctions
impl<S> Encode<S> for &FreeFunctions
Source§impl<S> Encode<S> for &mut FreeFunctions
impl<S> Encode<S> for &mut FreeFunctions
Auto Trait Implementations§
impl Freeze for FreeFunctions
impl RefUnwindSafe for FreeFunctions
impl !Send for FreeFunctions
impl !Sync for FreeFunctions
impl Unpin for FreeFunctions
impl UnwindSafe for FreeFunctions
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> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more