Struct gull::prelude::builders::EnumVariantBuilder
source · pub struct EnumVariantBuilder {
pub name: &'static str,
pub docs: &'static str,
pub variant_type: Option<EnumVariantType>,
}
Fields§
§name: &'static str
§docs: &'static str
§variant_type: Option<EnumVariantType>
Implementations§
source§impl EnumVariantBuilder
impl EnumVariantBuilder
pub fn build(self) -> EnumVariant
pub fn variant_type<T: Into<EnumVariantType>>(self, t: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EnumVariantBuilder
impl Send for EnumVariantBuilder
impl Sync for EnumVariantBuilder
impl Unpin for EnumVariantBuilder
impl UnwindSafe for EnumVariantBuilder
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