pub struct Symbol<T> { /* private fields */ }
Expand description
Symbol from a library.
A major difference compared to the cross-platform Symbol
is that this does not ensure the
Symbol
does not outlive Library
it comes from.
Implementations§
Trait Implementations§
impl<T> Send for Symbol<T>where
T: Send,
impl<T> Sync for Symbol<T>where
T: Sync,
Auto Trait Implementations§
impl<T> Freeze for Symbol<T>
impl<T> RefUnwindSafe for Symbol<T>where
T: RefUnwindSafe,
impl<T> Unpin for Symbol<T>where
T: Unpin,
impl<T> UnwindSafe for Symbol<T>where
T: UnwindSafe,
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