pub struct QrCode { /* private fields */ }Implementations§
Source§impl QrCode
impl QrCode
pub fn new(data: &[u8]) -> Self
pub fn email(email: &str) -> Self
pub fn url(url: &str) -> Self
pub fn phone(phone: &str) -> Self
pub fn sms(text: &str) -> Self
pub fn coordinates(lat: f64, lng: f64) -> Self
pub fn cryptocurrency_address( cryptocurrency: Cryptocurrency, address: &str, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QrCode
impl RefUnwindSafe for QrCode
impl Send for QrCode
impl Sync for QrCode
impl Unpin for QrCode
impl UnwindSafe for QrCode
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