pub struct EnumBuilder { /* private fields */ }Expand description
Builder fuer Enumerated-Typen.
Implementations§
Source§impl EnumBuilder
impl EnumBuilder
Sourcepub fn default_literal(self, name: impl Into<String>, value: i32) -> Self
pub fn default_literal(self, name: impl Into<String>, value: i32) -> Self
Fuegt das Default-Literal hinzu (@default_literal).
Sourcepub fn build_minimal(&self) -> MinimalEnumeratedType
pub fn build_minimal(&self) -> MinimalEnumeratedType
Baut ein MinimalEnumeratedType.
Sourcepub fn build_complete(&self) -> CompleteEnumeratedType
pub fn build_complete(&self) -> CompleteEnumeratedType
Baut ein CompleteEnumeratedType.
Auto Trait Implementations§
impl Freeze for EnumBuilder
impl RefUnwindSafe for EnumBuilder
impl Send for EnumBuilder
impl Sync for EnumBuilder
impl Unpin for EnumBuilder
impl UnsafeUnpin for EnumBuilder
impl UnwindSafe for EnumBuilder
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