pub struct EmoteSetId(/* private fields */);
Available on crate feature
emote
only.Expand description
An Emote Set ID
Implementations§
Source§impl EmoteSetId
impl EmoteSetId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newEmoteSetIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<EmoteSetIdRef>
pub fn into_boxed_ref(self) -> Box<EmoteSetIdRef>
Converts this EmoteSetId
into a Box<EmoteSetIdRef>
This will drop any excess capacity.
Methods from Deref<Target = EmoteSetIdRef>§
Sourcepub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>
pub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>
Get a
Cow<'_, EmoteSetIdRef>
Trait Implementations§
Source§impl AsRef<EmoteSetIdRef> for EmoteSetId
impl AsRef<EmoteSetIdRef> for EmoteSetId
Source§fn as_ref(&self) -> &EmoteSetIdRef
fn as_ref(&self) -> &EmoteSetIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for EmoteSetId
impl AsRef<str> for EmoteSetId
Source§impl Borrow<EmoteSetIdRef> for EmoteSetId
impl Borrow<EmoteSetIdRef> for EmoteSetId
Source§fn borrow(&self) -> &EmoteSetIdRef
fn borrow(&self) -> &EmoteSetIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for EmoteSetId
impl Borrow<str> for EmoteSetId
Source§impl Clone for EmoteSetId
impl Clone for EmoteSetId
Source§fn clone(&self) -> EmoteSetId
fn clone(&self) -> EmoteSetId
Returns a copy 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 EmoteSetId
impl Debug for EmoteSetId
Source§impl Deref for EmoteSetId
impl Deref for EmoteSetId
Source§impl<'de> Deserialize<'de> for EmoteSetId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for EmoteSetId
Available on crate feature
serde
only.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 EmoteSetId
impl Display for EmoteSetId
Source§impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef
impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef
Source§fn from(owned: &'a EmoteSetId) -> Self
fn from(owned: &'a EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a EmoteSetId> for Collection<'a, EmoteSetId>
impl<'a> From<&'a EmoteSetId> for Collection<'a, EmoteSetId>
Source§fn from(v: &'a EmoteSetId) -> Self
fn from(v: &'a EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>
impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>
Source§fn from(owned: &'a EmoteSetId) -> Self
fn from(owned: &'a EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl From<&EmoteSetIdRef> for EmoteSetId
impl From<&EmoteSetIdRef> for EmoteSetId
Source§fn from(s: &EmoteSetIdRef) -> Self
fn from(s: &EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for EmoteSetId
impl From<&str> for EmoteSetId
Source§impl From<Box<EmoteSetIdRef>> for EmoteSetId
impl From<Box<EmoteSetIdRef>> for EmoteSetId
Source§fn from(r: Box<EmoteSetIdRef>) -> Self
fn from(r: Box<EmoteSetIdRef>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId
impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId
Source§fn from(r: Cow<'a, EmoteSetIdRef>) -> Self
fn from(r: Cow<'a, EmoteSetIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<EmoteSetId> for Box<EmoteSetIdRef>
impl From<EmoteSetId> for Box<EmoteSetIdRef>
Source§fn from(r: EmoteSetId) -> Self
fn from(r: EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>
impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>
Source§fn from(owned: EmoteSetId) -> Self
fn from(owned: EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl From<EmoteSetId> for String
impl From<EmoteSetId> for String
Source§fn from(s: EmoteSetId) -> Self
fn from(s: EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl From<String> for EmoteSetId
impl From<String> for EmoteSetId
Source§impl FromStr for EmoteSetId
impl FromStr for EmoteSetId
Source§impl Hash for EmoteSetId
impl Hash for EmoteSetId
Source§impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId
impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId
Source§fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId
impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId
Source§fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for EmoteSetId
impl Ord for EmoteSetId
Source§impl PartialEq<&EmoteSetId> for EmoteSetId
impl PartialEq<&EmoteSetId> for EmoteSetId
Source§impl PartialEq<&EmoteSetIdRef> for EmoteSetId
impl PartialEq<&EmoteSetIdRef> for EmoteSetId
Source§impl PartialEq<EmoteSetId> for &EmoteSetIdRef
impl PartialEq<EmoteSetId> for &EmoteSetIdRef
Source§impl PartialEq<EmoteSetId> for EmoteSetIdRef
impl PartialEq<EmoteSetId> for EmoteSetIdRef
Source§impl PartialEq<EmoteSetIdRef> for EmoteSetId
impl PartialEq<EmoteSetIdRef> for EmoteSetId
Source§impl PartialEq for EmoteSetId
impl PartialEq for EmoteSetId
Source§impl PartialOrd for EmoteSetId
impl PartialOrd for EmoteSetId
Source§impl Serialize for EmoteSetId
Available on crate feature serde
only.
impl Serialize for EmoteSetId
Available on crate feature
serde
only.impl Eq for EmoteSetId
impl StructuralPartialEq for EmoteSetId
Auto Trait Implementations§
impl Freeze for EmoteSetId
impl RefUnwindSafe for EmoteSetId
impl Send for EmoteSetId
impl Sync for EmoteSetId
impl Unpin for EmoteSetId
impl UnwindSafe for EmoteSetId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)