pub struct SafeDOM {
pub fdom: Arc<Mutex<FreyaDOM>>,
}
Expand description
Tiny wrapper over FreyaDOM to make it thread-safe if desired. This is primarily used by the Devtools and Testing renderer.
Fields§
§fdom: Arc<Mutex<FreyaDOM>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SafeDOM
impl Send for SafeDOM
impl Sync for SafeDOM
impl Unpin for SafeDOM
impl UnwindSafe for SafeDOM
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