Display widget images in documentation
This commit is contained in:
parent
7760618fb1
commit
47196c9007
4 changed files with 6 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ use crate::{
|
|||
/// ```
|
||||
/// # use iced_native::{text_input, TextInput};
|
||||
/// #
|
||||
/// #[derive(Debug, Clone)]
|
||||
/// enum Message {
|
||||
/// TextInputChanged(String),
|
||||
/// }
|
||||
|
|
@ -31,6 +32,7 @@ use crate::{
|
|||
/// )
|
||||
/// .padding(10);
|
||||
/// ```
|
||||
/// 
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct TextInput<'a, Message> {
|
||||
state: &'a mut State,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue