pub struct ConstDecl {
pub name: String,
pub ty: TypeExpr,
pub value: Literal,
pub doc: Vec<String>,
pub attrs: Vec<Attribute>,
}Fields§
§name: String§ty: TypeExpr§value: Literal§doc: Vec<String>§attrs: Vec<Attribute>Trait Implementations§
impl StructuralPartialEq for ConstDecl
Auto Trait Implementations§
impl Freeze for ConstDecl
impl RefUnwindSafe for ConstDecl
impl Send for ConstDecl
impl Sync for ConstDecl
impl Unpin for ConstDecl
impl UnsafeUnpin for ConstDecl
impl UnwindSafe for ConstDecl
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