pub enum TextContentKind {
Username,
Password,
OneTimeCode,
}Expand description
A member of AppKit’s NSTextContentType.
These are NSString constants rather than Swift statics, so each is a
variable the loader exports: dlsym gives its address and the string is
one dereference further in.
Variants§
Trait Implementations§
Source§impl Clone for TextContentKind
impl Clone for TextContentKind
impl Copy for TextContentKind
Source§impl Debug for TextContentKind
impl Debug for TextContentKind
impl Eq for TextContentKind
Source§impl From<OneTimeCode> for TextContentKind
impl From<OneTimeCode> for TextContentKind
Source§fn from(_: OneTimeCode) -> Self
fn from(_: OneTimeCode) -> Self
Converts to this type from the input type.
Source§impl From<Password> for TextContentKind
impl From<Password> for TextContentKind
Source§impl From<Username> for TextContentKind
impl From<Username> for TextContentKind
Source§impl PartialEq for TextContentKind
impl PartialEq for TextContentKind
impl StructuralPartialEq for TextContentKind
Auto Trait Implementations§
impl Freeze for TextContentKind
impl RefUnwindSafe for TextContentKind
impl Send for TextContentKind
impl Sync for TextContentKind
impl Unpin for TextContentKind
impl UnsafeUnpin for TextContentKind
impl UnwindSafe for TextContentKind
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