pub struct AppEntryName(pub Cow<'static, str>);Expand description
Identifier for an entry definition. This may be removed.
Tuple Fields§
§0: Cow<'static, str>Implementations§
Source§impl AppEntryName
impl AppEntryName
Sourcepub fn new(s: impl Into<Cow<'static, str>>) -> AppEntryName
pub fn new(s: impl Into<Cow<'static, str>>) -> AppEntryName
Create a new AppEntryName from a string or &'static str.
Sourcepub const fn from_str(s: &'static str) -> AppEntryName
pub const fn from_str(s: &'static str) -> AppEntryName
Create a new AppEntryName from a &'static str.
Trait Implementations§
Source§impl Borrow<str> for AppEntryName
impl Borrow<str> for AppEntryName
Source§impl Clone for AppEntryName
impl Clone for AppEntryName
Source§fn clone(&self) -> AppEntryName
fn clone(&self) -> AppEntryName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppEntryName
impl Debug for AppEntryName
Source§impl<'de> Deserialize<'de> for AppEntryName
impl<'de> Deserialize<'de> for AppEntryName
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppEntryName, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppEntryName, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AppEntryName
impl Display for AppEntryName
Source§impl From<&'static str> for AppEntryName
impl From<&'static str> for AppEntryName
Source§fn from(s: &'static str) -> AppEntryName
fn from(s: &'static str) -> AppEntryName
Converts to this type from the input type.
Source§impl From<AppEntryName> for EntryDefId
impl From<AppEntryName> for EntryDefId
Source§fn from(name: AppEntryName) -> EntryDefId
fn from(name: AppEntryName) -> EntryDefId
Converts to this type from the input type.
Source§impl From<String> for AppEntryName
impl From<String> for AppEntryName
Source§fn from(s: String) -> AppEntryName
fn from(s: String) -> AppEntryName
Converts to this type from the input type.
Source§impl Hash for AppEntryName
impl Hash for AppEntryName
Source§impl Ord for AppEntryName
impl Ord for AppEntryName
Source§fn cmp(&self, other: &AppEntryName) -> Ordering
fn cmp(&self, other: &AppEntryName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AppEntryName
impl PartialEq for AppEntryName
Source§impl PartialOrd for AppEntryName
impl PartialOrd for AppEntryName
Source§impl Serialize for AppEntryName
impl Serialize for AppEntryName
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for AppEntryName
impl StructuralPartialEq for AppEntryName
Auto Trait Implementations§
impl Freeze for AppEntryName
impl RefUnwindSafe for AppEntryName
impl Send for AppEntryName
impl Sync for AppEntryName
impl Unpin for AppEntryName
impl UnsafeUnpin for AppEntryName
impl UnwindSafe for AppEntryName
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.