pub struct VyperConstant {
pub name: String,
pub ty: VyperType,
pub value: VyperExpr,
pub doc: Option<String>,
}Expand description
A Vyper module-level constant.
Fields§
§name: String§ty: VyperType§value: VyperExpr§doc: Option<String>Trait Implementations§
Source§impl Clone for VyperConstant
impl Clone for VyperConstant
Source§fn clone(&self) -> VyperConstant
fn clone(&self) -> VyperConstant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VyperConstant
impl RefUnwindSafe for VyperConstant
impl Send for VyperConstant
impl Sync for VyperConstant
impl Unpin for VyperConstant
impl UnsafeUnpin for VyperConstant
impl UnwindSafe for VyperConstant
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