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