pub struct HardwareAccess {
pub direction: HardwareAccessType,
pub access: DirectAccessType,
pub address: Vec<AstNode>,
}Fields§
§direction: HardwareAccessType§access: DirectAccessType§address: Vec<AstNode>Implementations§
Source§impl HardwareAccess
impl HardwareAccess
pub fn get_mangled_variable_name(&self) -> String
pub fn is_template(&self) -> bool
Trait Implementations§
Source§impl Clone for HardwareAccess
impl Clone for HardwareAccess
Source§fn clone(&self) -> HardwareAccess
fn clone(&self) -> HardwareAccess
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 HardwareAccess
impl Debug for HardwareAccess
Source§impl<'de> Deserialize<'de> for HardwareAccesswhere
'de: 'static,
impl<'de> Deserialize<'de> for HardwareAccesswhere
'de: 'static,
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 HardwareAccess
impl PartialEq for HardwareAccess
Source§fn eq(&self, other: &HardwareAccess) -> bool
fn eq(&self, other: &HardwareAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HardwareAccess
impl Serialize for HardwareAccess
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime HardwareAccess
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime HardwareAccess
Source§type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
The type returned in the event of a conversion error.
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut HardwareAccess
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut HardwareAccess
Source§type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
The type returned in the event of a conversion error.
Source§impl TryFrom<AstStatement> for HardwareAccess
impl TryFrom<AstStatement> for HardwareAccess
Source§type Error = TryIntoError<AstStatement>
type Error = TryIntoError<AstStatement>
The type returned in the event of a conversion error.
Source§impl Walker for HardwareAccess
impl Walker for HardwareAccess
fn walk<V>(&self, visitor: &mut V)where
V: AstVisitor,
Source§impl WalkerMut for HardwareAccess
impl WalkerMut for HardwareAccess
fn walk<V>(&mut self, visitor: &mut V)where
V: AstVisitorMut,
impl StructuralPartialEq for HardwareAccess
Auto Trait Implementations§
impl Freeze for HardwareAccess
impl RefUnwindSafe for HardwareAccess
impl Send for HardwareAccess
impl Sync for HardwareAccess
impl Unpin for HardwareAccess
impl UnsafeUnpin for HardwareAccess
impl UnwindSafe for HardwareAccess
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