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 · 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
Source§impl PartialEq for VariableAccessType
impl PartialEq for VariableAccessType
Source§impl Serialize for VariableAccessType
impl Serialize for VariableAccessType
impl Eq 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 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