Struct proc_macro::bridge::client::SourceFile
source · pub(crate) struct SourceFile {
handle: NonZeroU32,
_marker: PhantomData<*mut ()>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§handle: NonZeroU32
🔬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 SourceFile
impl SourceFile
pub(crate) fn drop(self: SourceFile)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn clone(self: &SourceFile) -> SourceFile
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn eq(self: &SourceFile, other: &SourceFile) -> bool
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn path(self: &SourceFile) -> String
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)pub(crate) fn is_real(self: &SourceFile) -> bool
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
source§impl Clone for SourceFile
impl Clone for SourceFile
source§impl<S> DecodeMut<'_, '_, S> for SourceFile
impl<S> DecodeMut<'_, '_, S> for SourceFile
source§impl Drop for SourceFile
impl Drop for SourceFile
source§impl<S> Encode<S> for &SourceFile
impl<S> Encode<S> for &SourceFile
source§impl<S> Encode<S> for &mut SourceFile
impl<S> Encode<S> for &mut SourceFile
Auto Trait Implementations§
impl RefUnwindSafe for SourceFile
impl !Send for SourceFile
impl !Sync for SourceFile
impl Unpin for SourceFile
impl UnwindSafe for SourceFile
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