pub struct WithDefinedOpaques<T> {
value: T,
impl_traits: Option<Box<Arena<ImplTrait>>>,
}Fields§
§value: T§impl_traits: Option<Box<Arena<ImplTrait>>>Trait Implementations§
Source§impl<T: Debug> Debug for WithDefinedOpaques<T>
impl<T: Debug> Debug for WithDefinedOpaques<T>
impl<T: Eq> Eq for WithDefinedOpaques<T>
Source§impl<T: Hash> Hash for WithDefinedOpaques<T>
impl<T: Hash> Hash for WithDefinedOpaques<T>
Source§impl<T: PartialEq> PartialEq for WithDefinedOpaques<T>
impl<T: PartialEq> PartialEq for WithDefinedOpaques<T>
Source§fn eq(&self, other: &WithDefinedOpaques<T>) -> bool
fn eq(&self, other: &WithDefinedOpaques<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T> SalsaValue for WithDefinedOpaques<T>where
T: SalsaValue,
impl<T: PartialEq> StructuralPartialEq for WithDefinedOpaques<T>
Auto Trait Implementations§
impl<T> Freeze for WithDefinedOpaques<T>where
T: Freeze,
impl<T> RefUnwindSafe for WithDefinedOpaques<T>where
T: RefUnwindSafe,
impl<T> Send for WithDefinedOpaques<T>where
T: Send,
impl<T> Sync for WithDefinedOpaques<T>where
T: Sync,
impl<T> Unpin for WithDefinedOpaques<T>where
T: Unpin,
impl<T> UnsafeUnpin for WithDefinedOpaques<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WithDefinedOpaques<T>where
T: UnwindSafe,
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
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> HashEqLike<T> for T
impl<T> HashEqLike<T> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more