pub enum TrueName {
SourceCode {
line_number: usize,
before: String,
this: String,
after: String,
},
}
Variants§
SourceCode
The variable’s true name is best represented as part of a line of code
for example if line 100 is
let x = a + b;
and the signal being queried is a+b
then this would return
{line: 100, before: “let x = “, this: “a + b”, after: “;”}
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrueName
impl<'de> Deserialize<'de> for TrueName
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 FromBytesOwned for TrueNamewhere
Json<Self>: FromBytesOwned,
impl FromBytesOwned for TrueNamewhere
Json<Self>: FromBytesOwned,
impl StructuralPartialEq for TrueName
Auto Trait Implementations§
impl Freeze for TrueName
impl RefUnwindSafe for TrueName
impl Send for TrueName
impl Sync for TrueName
impl Unpin for TrueName
impl UnwindSafe for TrueName
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