pub struct FieldAccessV2 {
pub field_name: String,
pub access_kind: AccessKind,
pub line: u32,
}Expand description
A field access within a critical section (V2).
Fields§
§field_name: StringThe name of the field being accessed.
access_kind: AccessKindThe kind of access (read/write).
line: u32Line where the access occurs.
Implementations§
Source§impl FieldAccessV2
impl FieldAccessV2
Trait Implementations§
Source§impl Clone for FieldAccessV2
impl Clone for FieldAccessV2
Source§fn clone(&self) -> FieldAccessV2
fn clone(&self) -> FieldAccessV2
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 FieldAccessV2
impl Debug for FieldAccessV2
Source§impl PartialEq for FieldAccessV2
impl PartialEq for FieldAccessV2
Source§fn eq(&self, other: &FieldAccessV2) -> bool
fn eq(&self, other: &FieldAccessV2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FieldAccessV2
impl StructuralPartialEq for FieldAccessV2
Auto Trait Implementations§
impl Freeze for FieldAccessV2
impl RefUnwindSafe for FieldAccessV2
impl Send for FieldAccessV2
impl Sync for FieldAccessV2
impl Unpin for FieldAccessV2
impl UnsafeUnpin for FieldAccessV2
impl UnwindSafe for FieldAccessV2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more