[−][src]Struct serde_traitobject::Arc
Convenience wrapper around std::sync::Arcserde_traitobject
for (de)serialization.
Methods
impl<T> Arc<T>
[src]
Methods from Deref<Target = Arc<T>>
Trait Implementations
impl<T: ?Sized> Clone for Arc<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Ord + ?Sized> Ord for Arc<T>
[src]
fn cmp(&self, other: &Arc<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl<T: ?Sized> AsRef<Arc<T>> for Arc<T>
[src]
impl<T: ?Sized> AsRef<T> for Arc<T>
[src]
impl<T: Default + ?Sized> Default for Arc<T>
[src]
impl<T: ?Sized> From<Arc<T>> for Arc<T>
[src]
impl<T> From<T> for Arc<T>
[src]
impl<T: PartialOrd + ?Sized> PartialOrd<Arc<T>> for Arc<T>
[src]
fn partial_cmp(&self, other: &Arc<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Arc<T>) -> bool
[src]
fn le(&self, other: &Arc<T>) -> bool
[src]
fn gt(&self, other: &Arc<T>) -> bool
[src]
fn ge(&self, other: &Arc<T>) -> bool
[src]
impl<T: ?Sized> Into<Arc<T>> for Arc<T>
[src]
impl<T: PartialEq + ?Sized> PartialEq<Arc<T>> for Arc<T>
[src]
impl<T: ?Sized> AsMut<Arc<T>> for Arc<T>
[src]
impl<T: Eq + ?Sized> Eq for Arc<T>
[src]
impl<T: ?Sized> DerefMut for Arc<T>
[src]
impl<T: Display + ?Sized> Display for Arc<T>
[src]
impl<T: Debug + ?Sized> Debug for Arc<T>
[src]
impl<T: ?Sized> Deref for Arc<T>
[src]
impl<T: Hash + ?Sized> Hash for Arc<T>
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Arc<U>> for Arc<T>
[src]
impl<T: ?Sized> Borrow<T> for Arc<T>
[src]
impl<T: Serialize + ?Sized + 'static> Serialize for Arc<T>
[src]
impl<'de, T: Deserialize + ?Sized + 'static> Deserialize<'de> for Arc<T>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl<T: ?Sized> Sync for Arc<T> where
T: Send + Sync,
T: Send + Sync,
impl<T: ?Sized> Send for Arc<T> where
T: Send + Sync,
T: Send + Sync,
impl<T: ?Sized> Unpin for Arc<T>
impl<T: ?Sized> RefUnwindSafe for Arc<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized> UnwindSafe for Arc<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
impl<T> Deserialize for T where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, V> SliceConcat<T> for V where
T: Clone,
V: Borrow<[T]>,
[src]
T: Clone,
V: Borrow<[T]>,
type Output = Vec<T>
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[V]) -> Vec<T>
[src]
fn join(slice: &[V], sep: &T) -> Vec<T>
[src]
impl<S> SliceConcat<str> for S where
S: Borrow<str>,
[src]
S: Borrow<str>,
type Output = String
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[S]) -> String
[src]
fn join(slice: &[S], sep: &str) -> String
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,