pub struct ExportName(/* private fields */);Expand description
Name of one exported value an element publishes. Identifier-style
(ASCII alphanumeric + _-.).
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ExportName
impl AsRef<str> for ExportName
Source§impl Clone for ExportName
impl Clone for ExportName
Source§fn clone(&self) -> ExportName
fn clone(&self) -> ExportName
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 ExportName
impl Debug for ExportName
Source§impl<'de> Deserialize<'de> for ExportName
impl<'de> Deserialize<'de> for ExportName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExportName
impl Display for ExportName
Source§impl FromStr for ExportName
impl FromStr for ExportName
Source§impl Hash for ExportName
impl Hash for ExportName
Source§impl Name for ExportName
impl Name for ExportName
Source§const KIND: &'static str = "ExportName"
const KIND: &'static str = "ExportName"
Human-readable kind label, used in error messages and
Debug.Source§const MAX_LEN: usize = 64
const MAX_LEN: usize = 64
Maximum byte length (UTF-8). Default 64 — override when a larger
ceiling is natural (plan names, for example).
Source§impl Ord for ExportName
impl Ord for ExportName
Source§fn cmp(&self, other: &ExportName) -> Ordering
fn cmp(&self, other: &ExportName) -> 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 ExportName
impl PartialEq for ExportName
Source§impl PartialOrd for ExportName
impl PartialOrd for ExportName
Source§impl Serialize for ExportName
impl Serialize for ExportName
Source§impl TryFrom<&str> for ExportName
impl TryFrom<&str> for ExportName
Source§impl TryFrom<String> for ExportName
impl TryFrom<String> for ExportName
impl Eq for ExportName
impl StructuralPartialEq for ExportName
Auto Trait Implementations§
impl Freeze for ExportName
impl RefUnwindSafe for ExportName
impl Send for ExportName
impl Sync for ExportName
impl Unpin for ExportName
impl UnsafeUnpin for ExportName
impl UnwindSafe for ExportName
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.