/// Returns the next value written by the user, or the default value of the
/// output type if any error occurred.
///
/// It merges the [format](Format) of the field with the global format of the container.
/// The merge saves the custom formatting specification of the written field.
///
/// See [`Written::prompt_or_default`] for more information.
///
/// # Panic
///
/// If the given written field has an incorrect default value,
/// this function will panic at runtime.
Returns the next value written by the user, or the default value of the
output type if any error occurred.

It merges the [format](Format) of the field with the global format of the container.
The merge saves the custom formatting specification of the written field.

See [`Written::prompt_or_default`] for more information.
Returns the next value written by the user or the default value of the output type if any error occurred . It merges the [ format ] ( Format ) of the field with the global format of the container . The merge saves the custom formatting specification of the written field . See [ ` Written :: prompt_or_default ` ] for more information .
pub fn written_or_default<T>(&mut self, written: &Written<'_>) -> T
    where
        T: FromStr + Default,
    {
        written.prompt_or_default_with(self.stream.deref_mut(), &self.fmt)
    }
pub fn written_or_default < T > ( & mut self , written : & Written < ' _ > ) -> T where T : FromStr + Default , { written . prompt_or_default_with ( self . stream . deref_mut ( ) , & self . fmt ) }
Returns the next value written by the user, or the default value of the
output type if any error occurred.
Returns the next value written by the user or the default value of the output type if any error occurred .
&mut self
<not_specific>
written
&Written<'_>
<not_specific>
panic
If the given written field has an incorrect default value,
this function will panic at runtime.
If the given written field has an incorrect default value this function will panic at runtime .