Struct aidl_parser::ast::Const [−][src]
pub struct Const {
pub name: String,
pub const_type: Type,
pub value: String,
pub annotations: Vec<Annotation>,
pub doc: Option<String>,
pub symbol_range: Range,
pub full_range: Range,
}
Fields
name: String
const_type: Type
value: String
annotations: Vec<Annotation>
doc: Option<String>
symbol_range: Range
full_range: Range
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Const
impl UnwindSafe for Const
Blanket Implementations
Mutably borrows from an owned value. Read more