pub struct VariableAccess {
pub range: Range,
pub access_type: VariableAccessType,
pub context: String,
}Expand description
Information about a variable access within a goroutine
Fields§
§range: RangeLocation of the access
access_type: VariableAccessTypeType of access (read, write, etc.)
context: StringContext description
Trait Implementations§
Source§impl Clone for VariableAccess
impl Clone for VariableAccess
Source§fn clone(&self) -> VariableAccess
fn clone(&self) -> VariableAccess
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 VariableAccess
impl Debug for VariableAccess
Source§impl<'de> Deserialize<'de> for VariableAccess
impl<'de> Deserialize<'de> for VariableAccess
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
Auto Trait Implementations§
impl Freeze for VariableAccess
impl RefUnwindSafe for VariableAccess
impl Send for VariableAccess
impl Sync for VariableAccess
impl Unpin for VariableAccess
impl UnsafeUnpin for VariableAccess
impl UnwindSafe for VariableAccess
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