[−][src]Struct ibuilder::builders::U32Builder
Builder for the type u32
Fields
value: Option<u32>
The current value.
prompt: String
The message to show to the user.
Methods
impl U32Builder
[src]
pub fn new(config: BuildableValueConfig<u32>) -> Self
[src]
Make a new instance of the builder.
Trait Implementations
impl BuildableValue for U32Builder
[src]
fn get_subfields(&self, _: &[String]) -> Vec<String>
[src]
fn to_node(&self) -> Node
[src]
fn apply(
&mut self,
data: Input,
current_fields: &[String]
) -> Result<(), ChooseError>
[src]
&mut self,
data: Input,
current_fields: &[String]
) -> Result<(), ChooseError>
fn get_options(&self, current_fields: &[String]) -> Options
[src]
fn get_value_any(&self) -> Option<Box<dyn Any>>
[src]
impl Debug for U32Builder
[src]
Auto Trait Implementations
impl RefUnwindSafe for U32Builder
impl Send for U32Builder
impl Sync for U32Builder
impl Unpin for U32Builder
impl UnwindSafe for U32Builder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,