pub struct Storage(/* private fields */);
Expand description
This storage is used by the parser to store the expaned content of a macro call. It is only used when user-defined macros are used. Otherwise, this storage is not used and is zero-overhead.
Storage
needs to exist because Rust does not allow self-referencial types. When Rust does
(hopefully) gain support for self-referencial types, this storage will be removed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Storage
impl !RefUnwindSafe for Storage
impl Send for Storage
impl !Sync for Storage
impl Unpin for Storage
impl !UnwindSafe for Storage
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