pub struct SurfaceValue {
pub kind: SurfaceValueKind,
pub span: Span,
}Expand description
Parsed scalar value before type resolution.
Fields§
§kind: SurfaceValueKind§span: SpanTrait 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 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