pub struct Atom(pub Shared<dyn HostType>);Expand description
The newtype carries the PartialEq, Debug and Display that
dyn HostType cannot, which lets Exp keep a derived PartialEq.
Tuple Fields§
§0: Shared<dyn HostType>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Atom
impl !RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl !UnwindSafe for Atom
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