pub struct PropertyInitState<T> {
pub value: T,
}
Fields§
§value: T
Trait Implementations§
Source§impl<T: Clone> Clone for PropertyInitState<T>
impl<T: Clone> Clone for PropertyInitState<T>
Source§fn clone(&self) -> PropertyInitState<T>
fn clone(&self) -> PropertyInitState<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for PropertyInitState<T>
impl<T: Debug> Debug for PropertyInitState<T>
Source§impl<'a, T: Decode<'a>> Decode<'a> for PropertyInitState<T>
impl<'a, T: Decode<'a>> Decode<'a> for PropertyInitState<T>
fn decode(cursor: &DecodeCursor<'a>) -> DecodeResult<Self>
Source§impl<T: Encode> Encode for PropertyInitState<T>
impl<T: Encode> Encode for PropertyInitState<T>
fn scratch_len(&self) -> usize
fn encode(&self, cursor: &mut EncodeCursor<'_>)
Source§impl<T: Hash> Hash for PropertyInitState<T>
impl<T: Hash> Hash for PropertyInitState<T>
Source§impl<T: Ord> Ord for PropertyInitState<T>
impl<T: Ord> Ord for PropertyInitState<T>
Source§fn cmp(&self, other: &PropertyInitState<T>) -> Ordering
fn cmp(&self, other: &PropertyInitState<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: Owned> Owned for PropertyInitState<T>
impl<T: Owned> Owned for PropertyInitState<T>
type Lazy<'a> = PropertyInitStateLazy<'a, T>
fn lazy_to_owned(lazy: Self::Lazy<'_>) -> DecodeResult<Self>
Source§impl<T: PartialEq> PartialEq for PropertyInitState<T>
impl<T: PartialEq> PartialEq for PropertyInitState<T>
Source§impl<T: PartialOrd> PartialOrd for PropertyInitState<T>
impl<T: PartialOrd> PartialOrd for PropertyInitState<T>
Source§impl<'a, T: Owned> TryFrom<PropertyInitStateLazy<'a, T>> for PropertyInitState<T>
impl<'a, T: Owned> TryFrom<PropertyInitStateLazy<'a, T>> for PropertyInitState<T>
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
impl<T: Owned> Compatible<PropertyInitState<T>> for PropertyInitState<T>
impl<T: Owned, Value: Encode + Compatible<T>> Compatible<PropertyInitState<T>> for PropertyInitStateGen<Value>
impl<'a, T: Owned> Compatible<PropertyInitState<T>> for PropertyInitStateLazy<'a, T>
impl<T: Owned, Value: Encode + Compatible<T>> Compatible<PropertyInitStateGen<Value>> for PropertyInitState<T>
impl<'a, T: Owned> Compatible<PropertyInitStateLazy<'a, T>> for PropertyInitState<T>
impl<T: Copy> Copy for PropertyInitState<T>
impl<T: Eq> Eq for PropertyInitState<T>
impl<T> StructuralPartialEq for PropertyInitState<T>
Auto Trait Implementations§
impl<T> Freeze for PropertyInitState<T>where
T: Freeze,
impl<T> RefUnwindSafe for PropertyInitState<T>where
T: RefUnwindSafe,
impl<T> Send for PropertyInitState<T>where
T: Send,
impl<T> Sync for PropertyInitState<T>where
T: Sync,
impl<T> Unpin for PropertyInitState<T>where
T: Unpin,
impl<T> UnwindSafe for PropertyInitState<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.