pub struct Constant {
pub name: String,
pub c_identifier: String,
pub typ: TypeId,
pub c_type: String,
pub value: String,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
pub doc: Option<String>,
pub doc_deprecated: Option<String>,
}
Fields§
§name: String
§c_identifier: String
§typ: TypeId
§c_type: String
§value: String
§version: Option<Version>
§deprecated_version: Option<Version>
§doc: Option<String>
§doc_deprecated: Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Constant
impl RefUnwindSafe for Constant
impl Send for Constant
impl Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
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