blob: 29343bee4c300a5e115d899567a431f0248a76af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
use crate::common::intrinsic_helpers::IntrinsicType;
use std::ops::{Deref, DerefMut};
#[derive(Debug, Clone, PartialEq)]
pub struct ArmIntrinsicType {
pub data: IntrinsicType,
pub target: String,
}
impl Deref for ArmIntrinsicType {
type Target = IntrinsicType;
fn deref(&self) -> &Self::Target {
&self.data
}
}
impl DerefMut for ArmIntrinsicType {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.data
}
}
|