[−][src]Struct preserves::value::value::PlainValue
Implementations
impl<D: Domain> PlainValue<D>
[src]
pub fn annotations_mut(&mut self) -> &mut Annotations<Self, D>
[src]
pub fn value_mut(&mut self) -> &mut Value<Self, D>
[src]
Trait Implementations
impl<D: Clone + Domain> Clone for PlainValue<D>
[src]
fn clone(&self) -> PlainValue<D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<D: Domain> Debug for PlainValue<D>
[src]
impl<'de, Dom: Domain> Deserialize<'de> for PlainValue<Dom>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<D: Eq + Domain> Eq for PlainValue<D>
[src]
impl<D: Hash + Domain> Hash for PlainValue<D>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<D: Domain> NestedValue<D> for PlainValue<D>
[src]
fn wrap(anns: Annotations<Self, D>, v: Value<Self, D>) -> Self
[src]
fn annotations(&self) -> &Annotations<Self, D>
[src]
fn value(&self) -> &Value<Self, D>
[src]
fn pieces(self) -> (Annotations<Self, D>, Value<Self, D>)
[src]
fn value_owned(self) -> Value<Self, D>
[src]
fn debug_fmt(&self, f: &mut Formatter) -> Result
[src]
fn copy_via<M: NestedValue<E>, E: Domain, F>(&self, f: &F) -> M where
F: Fn(&D) -> Value<M, E>,
[src]
F: Fn(&D) -> Value<M, E>,
fn to_io_value(&self) -> IOValue
[src]
fn from_io_value(v: &IOValue) -> Self
[src]
impl<D: Ord + Domain> Ord for PlainValue<D>
[src]
fn cmp(&self, other: &PlainValue<D>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<D: PartialEq + Domain> PartialEq<PlainValue<D>> for PlainValue<D>
[src]
fn eq(&self, other: &PlainValue<D>) -> bool
[src]
fn ne(&self, other: &PlainValue<D>) -> bool
[src]
impl<D: PartialOrd + Domain> PartialOrd<PlainValue<D>> for PlainValue<D>
[src]
fn partial_cmp(&self, other: &PlainValue<D>) -> Option<Ordering>
[src]
fn lt(&self, other: &PlainValue<D>) -> bool
[src]
fn le(&self, other: &PlainValue<D>) -> bool
[src]
fn gt(&self, other: &PlainValue<D>) -> bool
[src]
fn ge(&self, other: &PlainValue<D>) -> bool
[src]
impl<D: Domain> Serialize for PlainValue<D>
[src]
impl<D: Domain> StructuralEq for PlainValue<D>
[src]
impl<D: Domain> StructuralPartialEq for PlainValue<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for PlainValue<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for PlainValue<D> where
D: Send,
D: Send,
impl<D> Sync for PlainValue<D> where
D: Sync,
D: Sync,
impl<D> Unpin for PlainValue<D> where
D: Unpin,
D: Unpin,
impl<D> UnwindSafe for PlainValue<D> where
D: RefUnwindSafe + UnwindSafe,
D: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,