pub enum AutoDerefType {
Default,
Alias,
Reference,
}Variants§
Default
A plain pointer variable with the auto-deref trait, e.g. VAR_IN_OUT or VAR_INPUT{ref} variables
Alias
An alias pointer variable, e.g. foo AT bar : DINT
Reference
A reference pointer variable, e.g. foo : REFERENCE TO DINT;
Trait Implementations§
Source§impl Clone for AutoDerefType
impl Clone for AutoDerefType
Source§fn clone(&self) -> AutoDerefType
fn clone(&self) -> AutoDerefType
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 AutoDerefType
impl Debug for AutoDerefType
Source§impl<'de> Deserialize<'de> for AutoDerefType
impl<'de> Deserialize<'de> for AutoDerefType
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 AutoDerefType
impl PartialEq for AutoDerefType
Source§fn eq(&self, other: &AutoDerefType) -> bool
fn eq(&self, other: &AutoDerefType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AutoDerefType
impl Serialize for AutoDerefType
impl Copy for AutoDerefType
impl StructuralPartialEq for AutoDerefType
Auto Trait Implementations§
impl Freeze for AutoDerefType
impl RefUnwindSafe for AutoDerefType
impl Send for AutoDerefType
impl Sync for AutoDerefType
impl Unpin for AutoDerefType
impl UnsafeUnpin for AutoDerefType
impl UnwindSafe for AutoDerefType
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