pub enum SurfaceValue {
Quoted(QuotedString),
Bare(BareToken),
}Variants§
Quoted(QuotedString)
Bare(BareToken)
Trait Implementations§
Source§impl Clone for SurfaceValue
impl Clone for SurfaceValue
Source§fn clone(&self) -> SurfaceValue
fn clone(&self) -> SurfaceValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceValue
impl Debug for SurfaceValue
Source§impl<'__vihaco_src> Parse<'__vihaco_src> for SurfaceValue
impl<'__vihaco_src> Parse<'__vihaco_src> for SurfaceValue
Source§impl PartialEq for SurfaceValue
impl PartialEq for SurfaceValue
Source§fn eq(&self, other: &SurfaceValue) -> bool
fn eq(&self, other: &SurfaceValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfaceValue
impl StructuralPartialEq for SurfaceValue
Auto Trait Implementations§
impl Freeze for SurfaceValue
impl RefUnwindSafe for SurfaceValue
impl Send for SurfaceValue
impl Sync for SurfaceValue
impl Unpin for SurfaceValue
impl UnsafeUnpin for SurfaceValue
impl UnwindSafe for SurfaceValue
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].