pub enum SurfaceValueKind {
Ident(String),
Str(String),
Int(i64),
Bool(bool),
}Expand description
Surface scalar value variants.
Variants§
Trait Implementations§
Source§impl Clone for SurfaceValueKind
impl Clone for SurfaceValueKind
Source§fn clone(&self) -> SurfaceValueKind
fn clone(&self) -> SurfaceValueKind
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 SurfaceValueKind
impl Debug for SurfaceValueKind
Source§impl PartialEq for SurfaceValueKind
impl PartialEq for SurfaceValueKind
Source§fn eq(&self, other: &SurfaceValueKind) -> bool
fn eq(&self, other: &SurfaceValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfaceValueKind
impl StructuralPartialEq for SurfaceValueKind
Auto Trait Implementations§
impl Freeze for SurfaceValueKind
impl RefUnwindSafe for SurfaceValueKind
impl Send for SurfaceValueKind
impl Sync for SurfaceValueKind
impl Unpin for SurfaceValueKind
impl UnsafeUnpin for SurfaceValueKind
impl UnwindSafe for SurfaceValueKind
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