pub enum VariableAccessType {
Read,
Write,
Modify,
AddressOf,
Dereference,
}Expand description
Type of variable access
Variants§
Read
Reading the variable value
Write
Writing to the variable
Modify
Modifying the variable (++, –, +=, etc.)
AddressOf
Taking address of variable (&var)
Dereference
Dereferencing variable (*var)
Trait Implementations§
Source§impl Clone for VariableAccessType
impl Clone for VariableAccessType
Source§fn clone(&self) -> VariableAccessType
fn clone(&self) -> VariableAccessType
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 VariableAccessType
impl Debug for VariableAccessType
Source§impl<'de> Deserialize<'de> for VariableAccessType
impl<'de> Deserialize<'de> for VariableAccessType
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
impl Eq for VariableAccessType
Source§impl PartialEq for VariableAccessType
impl PartialEq for VariableAccessType
Source§fn eq(&self, other: &VariableAccessType) -> bool
fn eq(&self, other: &VariableAccessType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VariableAccessType
impl Serialize for VariableAccessType
impl StructuralPartialEq for VariableAccessType
Auto Trait Implementations§
impl Freeze for VariableAccessType
impl RefUnwindSafe for VariableAccessType
impl Send for VariableAccessType
impl Sync for VariableAccessType
impl Unpin for VariableAccessType
impl UnsafeUnpin for VariableAccessType
impl UnwindSafe for VariableAccessType
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