pub enum ValueNameSource {
Name(NameID),
Expr(ExprID),
}Variants§
Trait Implementations§
Source§impl Clone for ValueNameSource
impl Clone for ValueNameSource
Source§fn clone(&self) -> ValueNameSource
fn clone(&self) -> ValueNameSource
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 Debug for ValueNameSource
impl Debug for ValueNameSource
Source§impl<'de> Deserialize<'de> for ValueNameSource
impl<'de> Deserialize<'de> for ValueNameSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&NameID> for ValueNameSource
impl From<&NameID> for ValueNameSource
Source§impl From<&ValueName> for ValueNameSource
impl From<&ValueName> for ValueNameSource
Source§impl From<NameID> for ValueNameSource
impl From<NameID> for ValueNameSource
Source§impl Hash for ValueNameSource
impl Hash for ValueNameSource
Source§impl PartialEq for ValueNameSource
impl PartialEq for ValueNameSource
Source§impl Serialize for ValueNameSource
impl Serialize for ValueNameSource
impl Eq for ValueNameSource
impl StructuralPartialEq for ValueNameSource
Auto Trait Implementations§
impl Freeze for ValueNameSource
impl RefUnwindSafe for ValueNameSource
impl Send for ValueNameSource
impl Sync for ValueNameSource
impl Unpin for ValueNameSource
impl UnwindSafe for ValueNameSource
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more