pub struct JsonAdapter<T: Clone + Send + Sync + 'static>(/* private fields */);Implementations§
Source§impl<T: Clone + Send + Sync + 'static> JsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> JsonAdapter<T>
pub fn new(selfish: impl JsonAdapterTrait<T> + 'static) -> JsonAdapter<T>
Trait Implementations§
Source§impl<T: Clone + Send + Sync + 'static> AsAnyValue for JsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> AsAnyValue for JsonAdapter<T>
fn as_any_value(&self) -> AnyValue
Auto Trait Implementations§
impl<T> Freeze for JsonAdapter<T>
impl<T> !RefUnwindSafe for JsonAdapter<T>
impl<T> Send for JsonAdapter<T>
impl<T> Sync for JsonAdapter<T>
impl<T> Unpin for JsonAdapter<T>
impl<T> !UnwindSafe for JsonAdapter<T>
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