Implement QRCode widget
This commit is contained in:
parent
209056e1cd
commit
3296be845c
11 changed files with 358 additions and 2 deletions
|
|
@ -30,6 +30,13 @@ mod platform {
|
|||
)]
|
||||
pub use crate::renderer::widget::canvas;
|
||||
|
||||
#[cfg(any(feature = "qr_code", feature = "glow_qr_code"))]
|
||||
#[cfg_attr(
|
||||
docsrs,
|
||||
doc(cfg(any(feature = "qr_code", feature = "glow_qr_code")))
|
||||
)]
|
||||
pub use crate::renderer::widget::qr_code;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
|
||||
pub mod image {
|
||||
//! Display images in your user interface.
|
||||
|
|
@ -53,6 +60,10 @@ mod platform {
|
|||
#[cfg(any(feature = "canvas", feature = "glow_canvas"))]
|
||||
#[doc(no_inline)]
|
||||
pub use canvas::Canvas;
|
||||
|
||||
#[cfg(any(feature = "qr_code", feature = "glow_qr_code"))]
|
||||
#[doc(no_inline)]
|
||||
pub use qr_code::QRCode;
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue