pub struct VyperStruct {
pub name: String,
pub fields: Vec<(String, VyperType)>,
pub doc: Option<String>,
}Expand description
A Vyper struct definition.
Fields§
§name: String§fields: Vec<(String, VyperType)>§doc: Option<String>Trait Implementations§
Source§impl Clone for VyperStruct
impl Clone for VyperStruct
Source§fn clone(&self) -> VyperStruct
fn clone(&self) -> VyperStruct
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 VyperStruct
impl RefUnwindSafe for VyperStruct
impl Send for VyperStruct
impl Sync for VyperStruct
impl Unpin for VyperStruct
impl UnsafeUnpin for VyperStruct
impl UnwindSafe for VyperStruct
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