pub struct DirPath;Expand description
Text subtype with placeholder.
Trait Implementations§
Source§impl TextSubtype for DirPath
impl TextSubtype for DirPath
Source§fn placeholder() -> Option<&'static str>
fn placeholder() -> Option<&'static str>
Returns placeholder text for UI.
Source§fn is_multiline() -> bool
fn is_multiline() -> bool
Returns whether the input should be multiline.
Source§fn is_sensitive() -> bool
fn is_sensitive() -> bool
Returns whether the value is sensitive (passwords, tokens).
Source§fn code_language() -> Option<&'static str>
fn code_language() -> Option<&'static str>
Returns the associated code language for code subtypes.
impl Copy for DirPath
impl Eq for DirPath
impl StructuralPartialEq for DirPath
Auto Trait Implementations§
impl Freeze for DirPath
impl RefUnwindSafe for DirPath
impl Send for DirPath
impl Sync for DirPath
impl Unpin for DirPath
impl UnwindSafe for DirPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.