pub enum SourceValue {
Path {
binding: Ident,
segments: Vec<Ident>,
span: SourceSpan,
},
String(StringLiteral),
Number(String, SourceSpan),
}Expand description
A value mapped into an emitted signal field: an observation path
(tick.scheduled_at) or a literal.
Variants§
Trait Implementations§
Source§impl Clone for SourceValue
impl Clone for SourceValue
Source§fn clone(&self) -> SourceValue
fn clone(&self) -> SourceValue
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 SourceValue
impl Debug for SourceValue
impl Eq for SourceValue
Source§impl PartialEq for SourceValue
impl PartialEq for SourceValue
impl StructuralPartialEq for SourceValue
Auto Trait Implementations§
impl Freeze for SourceValue
impl RefUnwindSafe for SourceValue
impl Send for SourceValue
impl Sync for SourceValue
impl Unpin for SourceValue
impl UnsafeUnpin for SourceValue
impl UnwindSafe for SourceValue
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