[−][src]Struct gluon_vm::internal::InternedStr
Interned strings which allow for fast equality checks and hashing
Implementations
impl InternedStr
[src]
Trait Implementations
impl AsRef<str> for InternedStr
[src]
impl CloneUnrooted for InternedStr
[src]
type Value = Self
unsafe fn clone_unrooted(&self) -> Self::Value
[src]
impl CopyUnrooted for InternedStr
[src]
unsafe fn copy_unrooted(&self) -> Self
[src]
impl Debug for InternedStr
[src]
impl Deref for InternedStr
[src]
impl<'de, 'gc> DeserializeState<'de, DeSeed<'gc>> for InternedStr
[src]
fn deserialize_state<D>(
seed: &mut DeSeed<'gc>,
deserializer: D
) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
seed: &mut DeSeed<'gc>,
deserializer: D
) -> Result<Self, D::Error> where
D: Deserializer<'de>,
impl Display for InternedStr
[src]
impl Eq for InternedStr
[src]
impl Hash for InternedStr
[src]
fn hash<H>(&self, hasher: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for InternedStr
[src]
fn cmp(&self, other: &InternedStr) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'a> PartialEq<&'a str> for InternedStr
[src]
impl PartialEq<InternedStr> for InternedStr
[src]
fn eq(&self, other: &InternedStr) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<InternedStr> for InternedStr
[src]
fn partial_cmp(&self, other: &InternedStr) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Send for InternedStr
[src]
impl SerializeState<SeSeed> for InternedStr
[src]
fn serialize_state<S>(
&self,
serializer: S,
_state: &SeSeed
) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
&self,
serializer: S,
_state: &SeSeed
) -> Result<S::Ok, S::Error> where
S: Serializer,
impl StructuralEq for InternedStr
[src]
impl Sync for InternedStr
[src]
impl Trace for InternedStr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'_, T> Captures<'_> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastArc for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<D, T> FromPtr<D> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,