pub struct Constant {
pub attributes: Attributes,
pub loc: Loc,
pub signature: BaseType,
pub value: (UniqueMap<Var, SingleType>, Block),
}
Fields
attributes: Attributes
loc: Loc
signature: BaseType
value: (UniqueMap<Var, SingleType>, Block)
Trait Implementations
sourceimpl PartialEq<Constant> for Constant
impl PartialEq<Constant> for Constant
impl StructuralPartialEq for Constant
Auto Trait Implementations
impl RefUnwindSafe for Constant
impl Send for Constant
impl Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more